/* presentationsteknik.com — röd designlinje */
:root {
  --red: #C8102E;
  --red-dark: #9E0B23;
  --red-soft: #FBEDEF;
  --ink: #1c1a19;
  --body: #444444;
  --muted: #6f6a66;
  --line: #e8e4e0;
  --bg: #ffffff;
  --bg-alt: #faf8f6;
  --sans: 'Figtree', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { color: var(--ink); font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.6vw, 54px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0; }
.bg-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.red-band { background: var(--red); color: #fff; }
.red-band h2 { color: #fff; }
.kicker { color: var(--red); font-size: 13.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.lead { font-size: 18.5px; color: var(--body); }

/* Top bar + nav */
.topline { display: none; }
.nav { position: sticky; top: 0; background: #171514; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 16px 32px; }
.wordmark { font-weight: 800; font-size: 21px; color: var(--ink); letter-spacing: -0.01em; }
.wordmark span { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #efeae6; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: #ff8a9a; }
.nav-links a.active { color: #ff8a9a; }
.nav-toggle { display: none; background: none; border: 1px solid #3a3634; border-radius: 4px; color: #fff; font-size: 22px; line-height: 1; padding: 7px 12px; cursor: pointer; }

.btn { display: inline-block; background: var(--red); color: #fff !important; padding: 14px 30px; border-radius: 4px; font-size: 16px; font-weight: 700; border: none; cursor: pointer; font-family: var(--sans); text-align: center; }
.btn:hover { background: var(--red-dark); }
.btn-sm { padding: 11px 22px; font-size: 14.5px; }
.btn-outline { display: inline-block; border: 2px solid var(--red); color: var(--red) !important; padding: 12px 28px; border-radius: 4px; font-size: 16px; font-weight: 700; text-align: center; }
.btn-outline:hover { background: var(--red-soft); }
.btn-white { display: inline-block; background: #fff; color: var(--red) !important; padding: 14px 30px; border-radius: 4px; font-size: 16px; font-weight: 700; text-align: center; }

/* Cards & grids */
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 3px rgba(28,26,25,0.05); }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Hero */
.hero { display: flex; gap: 56px; align-items: center; padding: 72px 0 64px; }
.hero-copy { flex: 1 1 52%; display: flex; flex-direction: column; gap: 24px; }
.hero-media { flex: 1 1 42%; }
.hero-media img { border-radius: 8px; display: block; width: 100%; box-shadow: 0 10px 40px rgba(200,16,46,0.15); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; text-align: center; }
.stat b { display: block; font-size: 38px; font-weight: 800; color: var(--red); }
.stat span { color: var(--muted); font-size: 14.5px; }

/* Quotes */
.quote-card { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px; }
.quote-card .qmark { color: var(--red); font-size: 42px; line-height: 0.5; font-weight: 800; font-family: Georgia, serif; }
.quote-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--body); flex-grow: 1; }
.quote-card cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: 13.5px; }
.quote-card cite small { display: block; font-weight: 500; color: var(--muted); }
.masonry { columns: 3; column-gap: 24px; }
.masonry .quote-card { break-inside: avoid; margin-bottom: 24px; }

/* Course cards */
.course { padding: 34px 36px; display: flex; flex-direction: column; gap: 14px; }
.course h3 { font-size: 23px; }
.course .meta { display: flex; gap: 12px; flex-wrap: wrap; }
.course .meta span { background: var(--red-soft); color: var(--red-dark); border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 700; }
.course ul { margin: 0; padding-left: 20px; color: var(--body); font-size: 15px; }
.course ul li { margin-bottom: 5px; }
.course h4 { margin: 8px 0 0; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; border: 1px solid #d9d4cf; border-radius: 4px; padding: 13px 15px;
  font-size: 15px; font-family: var(--sans); color: var(--ink); background: #fff;
}
input:focus, textarea:focus { outline: none; border-color: var(--red); }
textarea { resize: vertical; min-height: 120px; }

/* Team */
.person { text-align: center; padding: 34px 30px; }
.person img { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; border: 4px solid var(--red-soft); }
.person h3 { font-size: 21px; margin-top: 18px; }
.person .role { color: var(--red); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }

footer { background: var(--ink); color: #cfc9c4; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; padding: 34px 32px; }
.footer-inner a { color: #cfc9c4; font-size: 14px; }
.footer-inner a:hover { color: #fff; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-wordmark { font-weight: 800; color: #fff; }
.footer-wordmark span { color: #ff6b81; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 2px; background: #171514; border-bottom: 1px solid #2c2927; padding: 12px 32px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 16px; }
  .hero { flex-direction: column; padding: 48px 0 40px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masonry { columns: 1; }
  .section { padding: 56px 0; }
  .form-grid { grid-template-columns: 1fr; }
}

/* v2 — old-design elements */
.nav-logo { height: 48px; width: auto; display: block; }
.footer-logo { height: 40px; width: auto; }
.wave { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
.red-curve { background: var(--red); }
.banner-img { width: 100%; height: auto; display: block; border-radius: 8px 8px 0 0; }
.course-wrap { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 1px 3px rgba(28,26,25,0.05); overflow: hidden; }
.count-pill { background: var(--red); color: #fff; border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 700; vertical-align: middle; margin-left: 10px; }
.client-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; row-gap: 26px; }
.client-strip img { opacity: 0.85; filter: grayscale(35%); }
.ac-card { background: #0c1116; color: #e8edf2; border-radius: 8px; padding: 30px 34px; }
.ac-bar { height: 6px; background: rgba(149,166,191,0.18); border-radius: 3px; margin-top: 5px; }
.ac-bar i { display: block; height: 6px; background: #35dbc8; border-radius: 3px; }

/* Video keynote cards */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.video-card { position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(28,26,25,0.16); transition: transform .25s ease, box-shadow .25s ease; }
.video-card img { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; }
.video-card .play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 44px; background: #FF0000; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.4); pointer-events: none; }
.video-card .play-badge::after { content: ''; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28,26,25,0.26); }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .video-grid { grid-template-columns: 1fr; } }

/* Social cards */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.social-card { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px 22px 26px; transition: transform .25s ease, box-shadow .25s ease; }
.social-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(28,26,25,0.14); text-decoration: none; }
.social-card svg { width: 32px; height: 32px; fill: var(--ink); flex-shrink: 0; }
.social-card img.phone { width: 100%; max-width: 190px; border-radius: 14px; }
.social-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .social-grid { grid-template-columns: 1fr; } }

/* Original-design dark hero (front page) */
.home-dark .topline { display: none; }
.home-dark .nav { background: #171514; border-bottom: none; }
.home-dark .nav-links a { color: #efeae6; }
.home-dark .nav-links a:hover, .home-dark .nav-links a.active { color: #ff8a9a; }
.home-dark .nav-toggle { color: #fff; border-color: #3a3634; }
@media (max-width: 960px) { .home-dark .nav-links { background: #171514; border-bottom: 1px solid #2c2927; } }
.hero-full { position: relative; background: #171514 url('../img/hero_arena.jpg') center 35% / cover no-repeat; overflow: hidden; }
.hero-full::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,12,12,0.5) 0%, rgba(15,12,12,0.22) 42%, rgba(15,12,12,0.58) 100%); }
.hero-full .red-wedge { position: absolute; top: 0; left: 0; width: min(46vw, 640px); height: 78%; background: linear-gradient(215deg, rgba(200,16,46,0.85) 0%, rgba(158,11,35,0.5) 55%, rgba(158,11,35,0.12) 100%); clip-path: polygon(0 0, 100% 0, 0 100%); }
.hero-full-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-top: 88px; padding-bottom: 88px; }
.hero-full .hero-copy { max-width: 600px; }
.hero-full h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.hero-full .kicker { color: #ffb3be; }
.hero-full .lead { color: rgba(255,255,255,0.93); text-shadow: 0 1px 14px rgba(0,0,0,0.45); }
.hero-full .lead b, .hero-full .lead i { color: #fff; }
.hero-full .btn-outline { border-color: #fff; color: #fff !important; }
.hero-full .btn-outline:hover { background: rgba(255,255,255,0.14); }
.hero-videobox { width: 400px; max-width: 100%; }
.hero-videobox .thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.hero-videobox .thumbs a { position: relative; display: block; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.hero-videobox .thumbs img { width: 100%; aspect-ratio: 819/1024; object-fit: cover; display: block; }
.hero-videobox .thumbs .play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 32px; background: rgba(20,18,17,0.85); border-radius: 8px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero-videobox .thumbs .play-badge::after { content: ''; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; margin-left: 2px; }
.hero-videocard { background: rgba(255,255,255,0.93); border-radius: 4px; padding: 30px 32px 32px; text-align: center; box-shadow: 0 14px 44px rgba(0,0,0,0.4); }
.hero-videocard h2 { font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.hero-videocard p { margin: 0 0 20px; font-size: 15.5px; color: var(--body); }
.hero-videocard .btn { letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px; padding: 13px 26px; }
@media (max-width: 960px) { .hero-full-inner { padding-top: 56px; padding-bottom: 56px; } }

/* Keynote posters inside course cards */
.course-media.course { flex-direction: row; gap: 22px; align-items: flex-start; }
.course-media > div { min-width: 0; }
.kn-poster { flex: 0 0 168px; position: relative; display: block; border-radius: 8px; overflow: hidden; align-self: flex-start; box-shadow: 0 8px 22px rgba(28,26,25,0.2); }
.kn-poster img { display: block; width: 100%; }
.kn-poster .play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 32px; background: #FF0000; border-radius: 8px; display: flex; align-items: center; justify-content: center; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.kn-poster .play-badge::after { content: ''; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; margin-left: 2px; }
@media (max-width: 700px) { .course-media.course { flex-direction: column; } .kn-poster { flex-basis: auto; width: 200px; } }

/* Kunskap cards */
.k-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.k-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.k-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(28,26,25,0.14); }
.k-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.k-body { padding: 14px 18px 16px; }
.k-cat { color: var(--red); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px; }
.k-title { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
@media (max-width: 900px) { .k-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .k-grid { grid-template-columns: 1fr; } }
