/* ============================================
   markstein Anwendertag 2026 — One-Pager
   Design orientiert an markstein.com
   ============================================ */
:root {
  --orange: #FF4F00;
  --orange-dark: #E04600;
  --dark: #292E33;
  --dark-2: #1F2428;
  --grey: #595959;
  --light: #F4F7FC;
  --light-2: #E4EBF8;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(41, 46, 51, .10);
  --font: 'Poppins', Arial, Helvetica, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(41,46,51,.08);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.site-logo img { width: 200px; }
.main-nav ul {
  display: flex; align-items: center; gap: 26px; list-style: none;
}
.main-nav a {
  color: var(--dark); font-weight: 500; font-size: .95rem;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--orange); }
.nav-cta a {
  background: var(--orange); color: var(--white);
  padding: 10px 20px; border-radius: 8px; font-weight: 600;
  transition: background .15s ease;
}
.nav-cta a:hover { background: var(--orange-dark); color: var(--white); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255,79,0,.25), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(255,79,0,.15), transparent 60%),
    var(--dark);
  color: var(--white);
  padding: 90px 24px 70px;
  text-align: center;
}
.hero-inner { max-width: 980px; margin: 0 auto; }
.badge {
  display: inline-block;
  background: rgba(255,79,0,.15);
  border: 1px solid rgba(255,79,0,.5);
  color: #FFB38A;
  font-size: .85rem; font-weight: 600;
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 26px;
  letter-spacing: .02em;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.01em;
}
.hero-pre {
  display: block;
  color: var(--orange);
  font-size: .45em; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-sub {
  max-width: 720px; margin: 22px auto 0;
  font-size: 1.15rem; color: #C9CDD2;
}
.hero-facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  margin-top: 40px;
}
.fact {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 14px 22px;
  text-align: left;
}
.fact-icon { color: #FF8A50; display: inline-flex; align-items: center; justify-content: center; }
.fact-icon svg { width: 26px; height: 26px; }
.fact strong { display: block; font-size: .95rem; }
.fact span:last-child { display: block; font-size: .8rem; color: #A9ABAD; }
.hero-cta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: 36px;
}
.btn {
  display: inline-block;
  padding: 14px 30px; border-radius: 10px;
  font-weight: 600; font-size: 1rem;
  font-family: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .ext, .nav-cta .ext { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-left: 5px; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,.35); color: var(--white);
}
.btn-ghost:hover { border-color: var(--orange); color: #FFB38A; background: transparent; }
.btn-secondary {
  background: var(--dark); color: var(--white);
}
.btn-secondary:hover { background: var(--orange); color: var(--white); }
.hero-banner {
  margin: 56px auto 0; max-width: 980px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.1);
}
.hero-banner img { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-light { background: var(--light); }
.section-white { background: var(--white); }
.section-dark {
  background:
    radial-gradient(800px 400px at 110% 0%, rgba(255,79,0,.12), transparent 55%),
    var(--dark);
  color: var(--white);
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker {
  display: inline-block;
  color: var(--orange); font-weight: 700; font-size: .85rem;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 12px;
}
.kicker-light { color: #FF8A50; }
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.2;
}
.section-sub { margin-top: 16px; color: var(--grey); font-size: 1.05rem; }
.section-dark .section-sub { color: #A9ABAD; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-5px); border-top-color: var(--orange); }
.card-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: var(--light-2); border-radius: 12px;
  margin-bottom: 18px;
}
.card-icon svg { width: 27px; height: 27px; color: var(--orange); }
.card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--grey); font-size: .95rem; }

/* ---------- Agenda ---------- */
.agenda-day {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 30px;
}
.agenda-day-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.day-date {
  color: #FF8A50; font-weight: 600; font-size: .95rem;
  letter-spacing: .04em;
}
.day-title { font-size: 1.3rem; font-weight: 700; }
.agenda-note { color: #A9ABAD; }
.timeline { list-style: none; }
.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(255,255,255,.14);
}
.timeline li:last-child { border-bottom: none; }
.time {
  font-weight: 700; color: #FF8A50;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.slot h3 { font-size: 1.05rem; font-weight: 600; }
.speaker { color: #A9ABAD; font-size: .88rem; margin-top: 4px; }
.tbc { font-style: italic; font-size: .8rem; }
.tag {
  display: inline-block;
  background: rgba(255,79,0,.18); color: #FF8A50;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 6px;
  margin-bottom: 6px;
}
.slot-break h3 { color: #8C8C8C; font-weight: 500; }

/* ---------- Venue ---------- */
.venue-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.venue-img {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.venue-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.venue-img figcaption {
  padding: 14px 18px;
  background: var(--white);
  font-size: .85rem; color: var(--grey);
}
.venue-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; margin-bottom: 20px; }
.venue-text address {
  font-style: normal; font-weight: 600;
  background: var(--light-2);
  border-left: 4px solid var(--orange);
  padding: 16px 20px; border-radius: 0 10px 10px 0;
  margin: 22px 0;
}
.venue-text p { color: var(--grey); margin-bottom: 28px; }

/* ---------- Rückblick ---------- */
.retro-img {
  max-width: 820px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}

.retro-gallery {
  max-width: 820px; margin: 24px auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}

.retro-thumb {
  margin: 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}

.retro-thumb img {
  display: block; width: 100%; height: 340px; object-fit: cover;
}

@media (max-width: 720px) {
  .retro-gallery { grid-template-columns: 1fr; }
  .retro-thumb img { height: auto; }
}

/* ---------- Impression (Zwischen Highlights und Agenda) ---------- */
.section-impression {
  background: var(--white); padding: 40px 0;
}

.section-impression .retro-img {
  max-width: 615px;
}

/* ---------- Anmeldeseite (Google Form iFrame) ---------- */
.form-embed iframe {
  display: block; width: 100%; height: 3500px;
  border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow); background: var(--white);
}

@media (max-width: 720px) {
  .form-embed iframe { height: 4500px; }
}

/* ---------- Kontakt / CTA ---------- */
.section-cta {
  background:
    radial-gradient(700px 400px at 0% 100%, rgba(255,79,0,.2), transparent 55%),
    var(--dark-2);
  color: var(--white);
}
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
}
.contact-grid h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700; margin-bottom: 18px;
}
.contact-grid > div > p { color: #C9CDD2; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px 22px;
  color: var(--white);
  transition: border-color .15s ease, background .15s ease;
}
a.contact-card:hover { border-color: var(--orange); background: rgba(255,79,0,.08); }
#kontakt .btn-primary { margin-top: 22px; }
.contact-icon { color: #FF8A50; display: inline-flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 25px; height: 25px; }
.contact-card strong { display: block; font-size: .95rem; }
.contact-card span:last-child { display: block; color: #A9ABAD; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-2);
  color: #C9CDD2;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 64px 24px 0;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { width: 200px; margin-bottom: 20px; }
.footer-contact { margin-bottom: 6px; }
.footer-contact a { color: var(--white); }
.footer-contact a:hover { color: var(--orange); }
.footer-hours { font-size: .88rem; color: #8C8C8C; }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  margin-top: 18px;
  transition: background .15s ease;
}
.footer-social:hover { background: var(--orange); }
.footer-col.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.footer-links a { color: #C9CDD2; font-size: .93rem; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  text-align: center;
  font-size: .85rem; color: #8C8C8C;
}
.footer-bottom a { color: #C9CDD2; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .venue-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .timeline li { grid-template-columns: 64px 1fr; gap: 12px; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 60px 20px 50px; }
  .agenda-day { padding: 24px 18px; }

  /* Mobile navigation */
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .nav-toggle span {
    width: 26px; height: 3px;
    background: var(--dark); border-radius: 2px;
  }
  .main-nav ul {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    box-shadow: 0 16px 30px rgba(41,46,51,.15);
    padding: 12px 24px 20px;
  }
  .main-nav ul.open { display: flex; }
  .main-nav li { padding: 10px 0; border-bottom: 1px solid #eee; }
  .main-nav li.nav-cta { border-bottom: none; }
  .nav-cta a { display: block; text-align: center; }
  .hero-facts { flex-direction: column; align-items: stretch; }
  .fact { justify-content: flex-start; }
}
