/* Fugebillen — Karriere landingpage */

:root {
  --primary: #de2301;
  --primary-dark: #b21c01;
  --primary-light: #fdeae4;
  --btn: #0080ff;
  --btn-dark: #0066cc;
  --text: #1b1f23;
  --text-muted: #5b6470;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #e1e6ec;
  --success: #1c7c3f;
  --error: #c0392b;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(10, 40, 70, 0.08);
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

main h3 {
  margin: 32px 0 8px;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

a {
  color: var(--primary);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--primary);
  border-bottom: 1px solid var(--primary-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: none;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--btn);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 128, 255, 0.32);
}

.btn-primary:hover {
  background: var(--btn-dark);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  background:
    linear-gradient(100deg, rgba(10, 10, 10, 0.78) 25%, rgba(10, 10, 10, 0.5) 55%, rgba(10, 10, 10, 0.18) 100%),
    url("/assets/hero-fuge-arbejde.jpg") center 30% / cover no-repeat;
  color: #fff;
  padding: 64px 0 88px;
}

.hero .container {
  display: grid;
  gap: 32px;
  max-width: 620px;
  margin: 0 0 0 clamp(20px, 6vw, 140px);
}

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.lede {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Sections */
section {
  padding: 64px 0;
}

.section-photo {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 28px 0 36px;
}

.job-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 260px;
}

.job-photo-wrap img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin: 0 0 36px;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

/* Benefit / task grids */
.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 1.05rem;
  color: var(--btn);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg {
  width: 20px;
  height: 20px;
}

/* Task list */
.task-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.task-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.task-list li svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 2px;
}

/* Requirements */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.98rem;
}

.check-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--success);
  margin-top: 2px;
}

/* Application form */
.form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
}

.form-wrap h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.form-wrap p.form-sub {
  margin: 0 0 26px;
  color: var(--text-muted);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

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

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.consent input {
  margin-top: 3px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.92rem;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.error {
  color: var(--error);
}

.form-status.success {
  color: var(--success);
}

.required {
  color: var(--error);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 44px 0 100px;
  font-size: 0.9rem;
}

.site-footer .container {
  display: grid;
  gap: 18px;
}

.site-footer a {
  color: #fff;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  box-shadow: 0 -8px 20px rgba(10, 40, 70, 0.12);
  display: flex;
}

/* Responsive */
@media (min-width: 700px) {
  .header-phone {
    display: inline-flex;
  }

  .sticky-cta {
    display: none;
  }
}

@media (max-width: 699px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .form-wrap {
    padding: 24px 18px;
  }

  body {
    padding-bottom: 76px;
  }
}
