/* ==========================================================================
   TeachingByStraarup - Modern Atmospheric Design System & Stylesheet
   Architecture: Tab-Based Single Page Application with Rich Component Library
   Palette: Deep Botanical Forest Green, Velvet Berry, Warm Linen, Brushed Brass
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@700&family=Fredoka:wght@600;700;800&family=Special+Elite&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* ==========================================================================
     Atmosfærisk Studie- & Naturpalette (Nordisk Ro, Dybde & Fordybelse)
     🌿 Dyb Skov & Salvie | 🍂 Varmt Linned & Havre | 🍷 Dyb Bær/Fløjl | ⚜️ Gylden Messing
     ========================================================================== */

  /* 🌿 Grønne Nuancer: Dybde, Natur & Ro */
  --primary: #173326;             /* Dyb Botanisk Skovgrøn - Vægfarve og primære overskrifter */
  --primary-light: #254d3b;       /* Mellem skovgrøn */
  --primary-subtle: #edf4ef;      /* Lys forfriskende salviemist */
  --blue-sky: #2d5543;            /* Dæmpet mosgrøn */
  --blue-sky-light: #e6efe9;      /* Lys mosgrøn */

  /* 🍷 Fløjlsrød / Bær: Fordybelse, Læsekrog & Hjertevarme */
  --purple-deep: #5e1c2d;         /* Dyb bordeaux / bogreol-accent */
  --coral: #842a3e;              /* Varm Bær / Fløjlsrød (Lænestolsaccent) */
  --coral-hover: #6e1f32;        /* Mørk fløjlshover */
  --coral-light: #faedf1;        /* Lys fløjlsrosa mist */
  --gold: #e59819;               /* Beholdes til 'by' i logoet */
  --brass-gold: #c89334;         /* Varm gylden messinglampe / rammeaccent */
  --brass-light: #fbf4e6;        /* Lys gylden linnedtone */

  /* 🟢 Salvie & Oliven: Taktilitet & Organisk Balance */
  --emerald: #395c4d;            /* Salviegrøn */
  --emerald-light: #ebf3ee;      /* Lys salvietone */
  --emerald-bright: #438f68;     /* Frisk botanisk grøn */
  --olive: #55693c;              /* Varm olivengrøn */
  --olive-light: #f1f5eb;        /* Lys oliventræstone */
  --lime: #e59819;               /* 'by' i brand logoet */

  /* 🍂 Havre, Linned & Brækket Hvid: Varmt Lærred & Ro */
  --bg-main: #f8f6f0;            /* Varm knækket havre / linnedvæg */
  --bg-card: #ffffff;            /* Rent pergament / lærred */
  --bg-alt: #f0ebe0;             /* Varm struktureret linnedbaggrund */
  --bg-dark: #12241b;            /* Dyb mørk skovgrøn footer */
  
  /* Text Colors */
  --text-main: #172920;          /* Dyb botanisk kulsort for behagelig læsning */
  --text-muted: #4e6357;         /* Dæmpet salvie-skifergrå brødtekst */
  --text-light: #7c9486;         /* Lys salviegrå */
  --text-white: #ffffff;         /* Hvid tekst */
  
  /* Borders & Dividers */
  --border-light: rgba(23, 51, 38, 0.09);
  --border-medium: rgba(23, 51, 38, 0.16);
  --border-coral: rgba(132, 42, 62, 0.28);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows & Elevations (Rum- & Dybdefornemmelse) */
  --shadow-sm: 0 3px 10px rgba(23, 51, 38, 0.04);
  --shadow-md: 0 10px 28px rgba(23, 51, 38, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 18px 46px rgba(23, 51, 38, 0.11), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-coral: 0 10px 24px rgba(132, 42, 62, 0.25);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  
  --container-max: 1200px;
}

/* ==========================================================================
   Reset & Base Setup
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 10% 8%, rgba(200, 147, 52, 0.05) 0%, transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(37, 77, 59, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(136, 41, 63, 0.03) 0%, transparent 40%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  transition: var(--transition-fast);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.section-gap {
  padding-bottom: 5rem;
}

/* ==========================================================================
   Header & Sticky Tab Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16, 35, 27, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid rgba(200, 147, 52, 0.3);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo img {
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}

.brand-by {
  color: #e59819;
  font-style: normal;
  font-weight: 800;
  margin: 0;
}

/* Primary Tab Navigation */
.tab-nav {
  display: flex;
  align-items: center;
}

.tab-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.35rem;
  background: #10241b;
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(200, 147, 52, 0.25);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #a8bcaf;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.tab-btn i {
  width: 17px;
  height: 17px;
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
  background: linear-gradient(135deg, #d49e29 0%, #b58226 100%);
  color: #0d2117;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(212, 158, 41, 0.35);
  border: 1px solid #fed049;
}

.tab-btn.active i {
  color: #0d2117;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--primary);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}

.mobile-toggle i {
  width: 24px;
  height: 24px;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 1100;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.mobile-drawer-close {
  padding: 0.4rem;
  color: var(--text-muted);
}

.mobile-tab-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.mobile-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: left;
}

.mobile-tab-btn.active {
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 700;
  border-left: 4px solid var(--coral);
}

.mobile-drawer-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Tab Panes (Architecture)
   ========================================================================== */
.main-content {
  flex-grow: 1;
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: tabFadeIn 0.35s ease forwards;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Tab-Specific Tapeter & Vægteksturer (Inspireret af de 9 stemningsbilleder)
   ========================================================================== */

/* 1. FORSIDE: Den Dybe Salviegrønne Salon & Studie */
#tab-forside {
  background: 
    radial-gradient(circle at 50% 12%, rgba(247, 203, 105, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 15% 45%, rgba(67, 143, 104, 0.12) 0%, transparent 50%),
    #1d3b2f;
  color: #f7f3eb;
  padding-bottom: 3rem;
}

#tab-forside .hero-section {
  background: transparent;
  border-bottom: none;
  padding: 4rem 0 1.5rem;
}

#tab-forside .hero-title {
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

#tab-forside .hero-title .highlight-coral {
  color: #fed049;
  text-shadow: 0 2px 12px rgba(254, 208, 73, 0.35);
}

#tab-forside .hero-title .brand-by,
.hero-title .brand-by {
  color: #e59819;
  text-shadow: 0 2px 12px rgba(229, 152, 25, 0.45);
}

#tab-forside .hero-description {
  color: #d0e0d6;
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.frontpage-portals-title {
  color: #e59819;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  text-align: center;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

/* Hjørnebanner: Kommer snart (Forsiden og Digitale Læremidler) */
.app-portal-card {
  position: relative;
  overflow: hidden;
}

.card-corner-ribbon {
  position: absolute;
  bottom: 28px;
  left: -48px;
  width: 205px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
  color: #042033;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-align: center;
  padding: 8px 0;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.35);
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1.5px solid rgba(14, 165, 233, 0.5);
  z-index: 10;
  pointer-events: none;
}

/* Grønt hjørnebanner: Prøveversion (Ny i Dansk) */
.card-corner-ribbon-green {
  position: absolute;
  bottom: 28px;
  left: -48px;
  width: 205px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 8px 0;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35), 0 0 20px rgba(16, 185, 129, 0.4);
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1.5px solid rgba(5, 150, 105, 0.5);
  z-index: 10;
  pointer-events: none;
}

#tab-forside .quote-card {
  background: linear-gradient(135deg, rgba(20, 48, 36, 0.95) 0%, rgba(10, 25, 19, 0.98) 100%);
  border-left: 4px solid #fed049;
  border-top: 1px solid rgba(200, 147, 52, 0.35);
  border-right: 1px solid rgba(200, 147, 52, 0.35);
  border-bottom: 1px solid rgba(200, 147, 52, 0.35);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), 0 0 28px rgba(200, 147, 52, 0.12);
  backdrop-filter: blur(12px);
}

#tab-forside .quote-icon {
  color: #fed049;
}

#tab-forside .quote-text {
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.7;
}

#tab-forside .quote-author strong {
  color: #fed049;
}

#tab-forside .quote-author span {
  color: #e2ede6;
}

#tab-forside .section-title {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

#tab-forside .section-subtitle {
  color: #b5ccbe;
}

#tab-forside .pillar-card {
  background: #fbf9f4;
  border: 1.5px solid rgba(200, 147, 52, 0.25);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

#tab-forside .pillar-card h3 {
  color: #173326;
}

#tab-forside .pillar-card p {
  color: #4e6357;
}

/* 2. ERFARING: Klassisk To-tonet Salvie & Oliven Stribet Tapet (Billede 9 & 7) */
#tab-om-mig {
  background: 
    radial-gradient(circle at 50% 15%, rgba(247, 203, 105, 0.08) 0%, transparent 60%),
    repeating-linear-gradient(90deg, #244133 0px, #244133 36px, #1e372b 36px, #1e372b 72px);
  color: #f7f3eb;
}

#tab-om-mig .hero-section {
  background: transparent;
  border-bottom: 1px solid rgba(247, 203, 105, 0.2);
}

#tab-om-mig .hero-title {
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

#tab-om-mig .hero-title .highlight-coral {
  color: #fed049;
}

#tab-om-mig .hero-description {
  color: #d0e0d6;
}

#tab-om-mig .hero-image-card {
  border: 5px solid #ffffff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

#tab-om-mig .highlight-card {
  background: #fbf9f4;
  border: 1.5px solid rgba(200, 147, 52, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

#tab-om-mig .cv-wrapper {
  background: #f8f5ee;
  color: #172920;
}

#tab-om-mig .cv-wrapper .cv-box {
  background: #ffffff;
  border: 1.5px solid rgba(23, 51, 38, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* 3. DIGITALE LÆREMIDLER: Mørkegrøn Trælamelvæg (Billede 2) */
#tab-vaerker {
  background: 
    radial-gradient(circle at 50% 15%, rgba(247, 203, 105, 0.08) 0%, transparent 60%),
    repeating-linear-gradient(90deg, #1b3528 0px, #1b3528 28px, #142a20 28px, #142a20 30px, #1b3528 30px);
  color: #f7f3eb;
  min-height: 85vh;
}

#tab-vaerker .tab-hero {
  background: transparent;
  border-bottom: 1px solid rgba(247, 203, 105, 0.2);
}

#tab-vaerker .tab-hero-title {
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

#tab-vaerker .tab-hero-lead {
  color: #d0e0d6;
}

/* 4. TEORETISK UNIVERS: Dyb Botanisk Kunstvæg (Billede 1 & 5) */
#tab-teori {
  background: 
    radial-gradient(circle at 50% 20%, rgba(67, 143, 104, 0.18) 0%, transparent 65%),
    radial-gradient(circle at 85% 75%, rgba(200, 147, 52, 0.08) 0%, transparent 50%),
    #173327;
  color: #f7f3eb;
  min-height: 85vh;
}

#tab-teori .tab-hero {
  background: transparent;
  border-bottom: 1px solid rgba(247, 203, 105, 0.2);
}

#tab-teori .tab-hero-title {
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

#tab-teori .tab-hero-lead {
  color: #d0e0d6;
}

/* 5. KONTAKT: Varm Mat Salviegrøn Væg (Billede 4 & 8) */
#tab-kontakt {
  background: 
    radial-gradient(circle at 50% 15%, rgba(247, 203, 105, 0.09) 0%, transparent 60%),
    #213f32;
  color: #f7f3eb;
}

#tab-kontakt .tab-hero {
  background: transparent;
  border-bottom: 1px solid rgba(247, 203, 105, 0.2);
}

#tab-kontakt .tab-hero-title {
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

#tab-kontakt .tab-hero-lead {
  color: #d0e0d6;
}

#tab-kontakt .service-card,
#tab-kontakt .info-card,
#tab-kontakt .contact-form-card,
#tab-kontakt .calc-card {
  background: #fbf9f4;
  border: 1.5px solid rgba(200, 147, 52, 0.25);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
  color: #172920;
}

#tab-kontakt .service-card h3,
#tab-kontakt .info-card h2,
#tab-kontakt .calc-card h3 {
  color: #173326;
}

#tab-kontakt .service-desc,
#tab-kontakt .info-card p,
#tab-kontakt .calc-card p {
  color: #4e6357;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #d49e29 0%, #b58226 100%);
  color: #0d2117 !important;
  font-weight: 800 !important;
  border: 1px solid #fed049;
  box-shadow: 0 4px 18px rgba(212, 158, 41, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f5b041 0%, #d49e29 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 176, 65, 0.55);
}

.btn-accent-warm {
  background: linear-gradient(135deg, #88293f 0%, #681a2d 100%);
  color: #ffffff !important;
  font-weight: 700;
  border: 1px solid rgba(254, 208, 73, 0.35);
  box-shadow: 0 4px 16px rgba(136, 41, 63, 0.35);
}

.btn-accent-warm:hover {
  background: linear-gradient(135deg, #a3324d 0%, #88293f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(136, 41, 63, 0.5);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: #fed049;
  color: #fed049 !important;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-soft {
  background-color: rgba(254, 208, 73, 0.15);
  color: #fed049 !important;
  border: 1px solid rgba(254, 208, 73, 0.35);
  font-weight: 700;
}

.btn-soft:hover {
  background-color: rgba(254, 208, 73, 0.28);
  transform: translateY(-2px);
}

.btn-ghost {
  color: #cad8ce;
  background: transparent;
}

.btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: #fdfaf3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}

.badge-primary {
  background-color: rgba(26, 67, 49, 0.07);
  color: #1a4331;
  border: 1px solid rgba(26, 67, 49, 0.18);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.badge-primary i {
  color: #245c43;
}

.badge-accent {
  background-color: rgba(254, 208, 73, 0.15);
  color: #fed049;
  border: 1px solid rgba(254, 208, 73, 0.4);
  backdrop-filter: blur(8px);
}

.badge-white {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.highlight-coral {
  color: var(--coral);
}

.highlight-gold {
  color: var(--gold);
}

/* Section Header standard */
.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   FANE 1: Hero & Om Heidi Components
   ========================================================================== */
.hero-section {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content-center {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content-center .hero-buttons {
  justify-content: center;
}

.hero-content-center .quote-card {
  text-align: left;
  max-width: 840px;
  width: 100%;
  margin: 2rem auto 2.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  background: #ffffff;
  max-width: 380px;
}

.hero-profile-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-image-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(15, 43, 70, 0.88);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-badge i {
  color: var(--emerald-bright);
  width: 24px;
  height: 24px;
}

.hero-image-badge strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero-image-badge span {
  font-size: 0.75rem;
  color: var(--emerald-bright);
}

/* Quote Card on Frontpage (Biblioteks- / Fordybelseskrog) */
.quote-card {
  background: linear-gradient(135deg, #ffffff 0%, #faf4f5 100%);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin: 1.75rem 0 2rem;
  position: relative;
  border-top: 1px solid rgba(132, 42, 62, 0.14);
  border-right: 1px solid rgba(132, 42, 62, 0.14);
  border-bottom: 1px solid rgba(132, 42, 62, 0.14);
  box-shadow: 0 10px 30px rgba(23, 51, 38, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.quote-icon {
  color: var(--coral);
  opacity: 0.85;
  margin-bottom: 0.6rem;
}

.quote-icon i {
  width: 30px;
  height: 30px;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.075rem;
  font-style: italic;
  color: var(--primary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.quote-author {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
}

.quote-author strong {
  color: var(--primary);
  font-weight: 800;
}

.quote-author span {
  color: var(--text-muted);
  font-size: 0.825rem;
}

/* Pillars Grid on Frontpage (Studiekort) */
.frontpage-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.85rem;
}

.pillar-card {
  background: #ffffff;
  border: 1.5px solid rgba(23, 51, 38, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  box-shadow: 0 6px 20px rgba(23, 51, 38, 0.05);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 42px rgba(23, 51, 38, 0.12);
  border-color: var(--brass-gold);
}

.pillar-card:hover::before {
  background: linear-gradient(90deg, var(--emerald), var(--brass-gold), var(--coral));
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.pillar-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brass-gold);
  transition: var(--transition-fast);
}

.pillar-card:hover .pillar-link {
  transform: translateX(5px);
  color: var(--primary);
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.highlight-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.icon-blue { background: var(--blue-sky-light); color: var(--blue-sky); }
.icon-navy { background: var(--primary-subtle); color: var(--primary); }
.icon-green { background: var(--emerald-light); color: var(--emerald); }
.icon-sage { background: var(--emerald-light); color: var(--emerald); }
.icon-olive { background: var(--olive-light); color: var(--olive); }
.icon-lime { background: var(--olive-light); color: var(--olive); }
.icon-coral { background: var(--coral-light); color: var(--coral); }
.icon-purple { background: var(--coral-light); color: var(--coral); }
.icon-emerald { background: var(--emerald-light); color: var(--emerald); }
.icon-gold { background: #fef3c7; color: var(--gold); }
.icon-white { background: rgba(255, 255, 255, 0.2); color: #ffffff; }

.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.highlight-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CV Layout & Timeline */
.cv-wrapper {
  background: #ffffff;
  padding: 5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cv-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.cv-box {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.cv-box-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-light);
}

.cv-box-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-box-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  padding-left: 0.5rem;
}

.timeline-item {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--emerald);
}

.timeline-dot {
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px #ffffff;
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.timeline-role {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.timeline-place {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   FANE 2: Værker, Hjemmesider & Apps (Portfolio)
   ========================================================================== */
.tab-hero {
  padding: 4rem 0 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-light);
}

.tab-hero-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.tab-hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* Filter Bar */
.portfolio-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.filter-btn i {
  width: 16px;
  height: 16px;
}

.filter-btn:hover {
  color: var(--primary);
  background: var(--bg-alt);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 43, 70, 0.18);
}

.filter-btn.active i {
  color: var(--emerald-bright);
}

/* ==========================================================================
   FANE 2: Apps & Digitale Læremidler
   ========================================================================== */
.apps-portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.25rem;
  max-width: 1160px;
  margin: 3.5rem auto 0;
}

.app-portal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.app-portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 43, 70, 0.2);
}

.app-portal-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.app-portal-icon i {
  width: 32px;
  height: 32px;
}

.app-card-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.app-card-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

/* Escape to Learn Special Card Styling */
.card-escape-to-learn {
  background: radial-gradient(circle at 15% 15%, #181510 0%, #0a0907 100%) !important;
  border: 1.5px solid rgba(229, 177, 58, 0.45) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(229, 177, 58, 0.1) !important;
  position: relative;
  overflow: hidden;
}

.card-escape-to-learn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f5b041, transparent);
}

.card-escape-to-learn:hover {
  border-color: #f5b041 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 32px rgba(245, 176, 65, 0.25) !important;
  transform: translateY(-6px);
}

.etl-identity-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(229, 177, 58, 0.22);
}

.etl-key-box {
  width: 54px;
  height: 54px;
  border: 2.5px solid #e5b13a;
  border-radius: 12px;
  background: rgba(229, 177, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5b041;
  box-shadow: 0 0 16px rgba(245, 176, 65, 0.3), inset 0 0 10px rgba(245, 176, 65, 0.12);
  flex-shrink: 0;
}

.etl-key-box i {
  width: 28px;
  height: 28px;
  transform: rotate(-45deg);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.etl-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.etl-title {
  font-family: 'Cinzel Decorative', 'Cinzel', 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff9e6;
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 14px rgba(255, 249, 230, 0.35);
}

.etl-subtitle {
  font-family: 'Special Elite', 'Courier Prime', monospace;
  font-size: 0.74rem;
  color: #e5b13a;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
}

.etl-desc {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
}

.btn-etl {
  background: linear-gradient(135deg, #d49e29 0%, #b8860b 100%) !important;
  color: #0c0b09 !important;
  font-weight: 800 !important;
  border: 1px solid #f5b041 !important;
  box-shadow: 0 4px 16px rgba(212, 158, 41, 0.35) !important;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  padding: 1rem 1.15rem !important;
  font-size: 0.95rem !important;
}

.btn-etl:hover {
  background: linear-gradient(135deg, #f5b041 0%, #d49e29 100%) !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 176, 65, 0.55) !important;
  border-color: #ffffff !important;
}

/* DreamyTales Special Identity Card */
.card-dreamy-tales {
  background: radial-gradient(circle at 15% 15%, #131c2e 0%, #0a0f1a 100%) !important;
  border: 1.5px solid rgba(254, 208, 73, 0.4) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(56, 189, 248, 0.08) !important;
  position: relative;
  overflow: hidden;
}

.card-dreamy-tales::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fed049, transparent);
}

.card-dreamy-tales:hover {
  border-color: #fed049 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 32px rgba(254, 208, 73, 0.25) !important;
  transform: translateY(-6px);
}

.dt-identity-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dt-moon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
}

.dt-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dt-brand-title {
  font-family: 'Fredoka', 'Nunito', 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
}

.dt-white {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.dt-yellow {
  color: #fed049;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 14px rgba(254, 208, 73, 0.35);
}

.dt-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.dt-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  color: #fed049;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0.1rem 0 0.15rem;
}

.dt-flag-svg {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.dt-desc {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
}

.btn-dt {
  background: linear-gradient(135deg, #fed049 0%, #f59e0b 100%) !important;
  color: #0a0f1a !important;
  font-weight: 800 !important;
  border: 1px solid #ffe082 !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3) !important;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  padding: 1rem 1.15rem !important;
  font-size: 0.95rem !important;
}

.btn-dt:hover {
  background: linear-gradient(135deg, #ffe082 0%, #fed049 100%) !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(254, 208, 73, 0.5) !important;
}

/* Mix It Up - Gruppemaskine Special Identity Card */
.card-mix-it-up {
  background: #8fc7d2 !important;
  border: 1.5px solid #caa035 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(143, 199, 210, 0.2) !important;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  min-height: 420px;
}

.card-mix-it-up:hover {
  border-color: #ffd54f !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 32px rgba(143, 199, 210, 0.4) !important;
  transform: translateY(-6px);
}

/* Mix It Up - Group Generator Special Identity Card (English / Mint Edition) */
.card-mix-it-up-en {
  background: #9acec5 !important;
  border: 1.5px solid #caa035 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(154, 206, 197, 0.25) !important;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  min-height: 420px;
}

.card-mix-it-up-en:hover {
  border-color: #ffd54f !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 32px rgba(154, 206, 197, 0.45) !important;
  transform: translateY(-6px);
}

/* Circus Awning stripes at top */
.miu-awning {
  height: 16px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    #d82b2f 0px,
    #d82b2f 14px,
    #ffffff 14px,
    #ffffff 28px
  );
  border-bottom: 2px solid #caa035;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

/* Cream Header Bar */
.miu-identity-header {
  background: #faf8f2;
  padding: 1.25rem 1.5rem 1.15rem;
  border-bottom: 2px solid #caa035;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.miu-wheel-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.16));
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-mix-it-up:hover .miu-wheel-box,
.card-mix-it-up-en:hover .miu-wheel-box {
  transform: rotate(360deg);
}

.miu-wheel-img {
  width: 52px;
  height: 52px;
  display: block;
}

.miu-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.miu-brand-title {
  font-family: 'Fredoka', 'Nunito', 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.miu-red {
  color: #d82b2f;
  text-shadow: 0 1px 2px rgba(216, 43, 47, 0.15);
}

.miu-gold {
  color: #a77e27;
  font-size: 1.05rem;
  font-weight: 700;
}

.miu-subtitle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #7d6320;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* Body Content on Sky Blue */
.miu-card-content {
  padding: 2.25rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  align-items: center;
  width: 100%;
}

/* Decorative subtle watermark wheel in lower right */
.miu-card-content::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 130px;
  height: 130px;
  background-image: url('images/mix-it-up-wheel.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.16;
  pointer-events: none;
  transform: rotate(-10deg);
  transition: transform 0.8s ease;
}

.card-mix-it-up:hover .miu-card-content::after,
.card-mix-it-up-en:hover .miu-card-content::after {
  transform: rotate(30deg) scale(1.08);
}

.miu-desc {
  color: #0d2f3a !important;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

/* Mix It Up Button */
.btn-miu {
  background: linear-gradient(135deg, #d82b2f 0%, #b31d21 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1.5px solid #caa035 !important;
  box-shadow: 0 4px 16px rgba(216, 43, 47, 0.35) !important;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  white-space: nowrap !important;
}

.card-mix-it-up-en .btn-miu {
  font-size: 0.88rem !important;
  padding: 1rem 1.15rem !important;
  letter-spacing: 0.01em;
}

.btn-miu:hover {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216, 43, 47, 0.5) !important;
  border-color: #ffd54f !important;
}

.btn-wheel-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Gæt og Pas - Det Mekaniske Ordspil Special Identity Card */
.card-gaet-og-pas,
.card-guess-and-pass,
.card-raten-und-weiter,
.card-mat-og-pas {
  background: radial-gradient(circle at 15% 15%, #10263b 0%, #06111c 100%) !important;
  border: 1.5px solid rgba(212, 158, 67, 0.45) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 158, 67, 0.12) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.25rem !important;
  min-height: 420px;
}

.card-guess-and-pass {
  background: radial-gradient(circle at 15% 15%, #183a58 0%, #0a1928 100%) !important;
}

.card-raten-und-weiter {
  background: radial-gradient(circle at 15% 15%, #16324d 0%, #091726 100%) !important;
}

.card-mat-og-pas {
  background: radial-gradient(circle at 15% 15%, #123824 0%, #07190f 100%) !important;
}

.card-gaet-og-pas::before,
.card-guess-and-pass::before,
.card-raten-und-weiter::before,
.card-mat-og-pas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f7d78c, transparent);
}

.card-gaet-og-pas:hover,
.card-guess-and-pass:hover,
.card-raten-und-weiter:hover,
.card-mat-og-pas:hover {
  border-color: #f7d78c !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 32px rgba(247, 215, 140, 0.3) !important;
  transform: translateY(-6px);
}

.gop-identity-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(212, 158, 67, 0.25);
  width: 100%;
}

.gop-emblem-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-gaet-og-pas:hover .gop-emblem-box,
.card-guess-and-pass:hover .gop-emblem-box,
.card-raten-und-weiter:hover .gop-emblem-box,
.card-mat-og-pas:hover .gop-emblem-box {
  transform: rotate(25deg) scale(1.08);
}

.gop-emblem-img {
  width: 56px;
  height: 56px;
  display: block;
}

.gop-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.gop-brand-title {
  font-family: 'Cinzel Decorative', 'Cinzel', 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.15;
  background: linear-gradient(135deg, #fff0c2 0%, #d89e48 50%, #f7d78c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f7d78c;
  text-shadow: 0 2px 10px rgba(216, 158, 72, 0.3);
}

.card-raten-und-weiter .gop-brand-title {
  font-size: 1.28rem;
}

.gop-subtitle {
  font-family: 'Crimson Pro', 'Georgia', 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: #a5c4d4;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.card-mat-og-pas .gop-subtitle {
  color: #a5d8ba;
}

.gop-desc {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

/* Gæt og Pas Button */
.btn-gop {
  background: linear-gradient(135deg, #d49e43 0%, #9a5f1e 100%) !important;
  color: #06101a !important;
  font-weight: 800 !important;
  border: 1px solid #f7d78c !important;
  box-shadow: 0 4px 16px rgba(212, 158, 67, 0.35) !important;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  padding: 1rem 1.15rem !important;
  font-size: 0.95rem !important;
}

.btn-gop:hover {
  background: linear-gradient(135deg, #fcedb4 0%, #d49e43 100%) !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247, 215, 140, 0.55) !important;
  border-color: #ffffff !important;
}

.btn-gop-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

/* Gæt et ord - Beskriv et billede og gæt ordet (Special Sunlit / Amber Steampunk Edition) */
.card-gaet-et-ord {
  background: radial-gradient(circle at 15% 15%, #fffdf4 0%, #fef3c7 45%, #fde68a 100%) !important;
  border: 1.5px solid #d97706 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(245, 158, 11, 0.25) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.25rem !important;
  min-height: 420px;
}

.card-gaet-et-ord::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ea580c, transparent);
}

.card-gaet-et-ord:hover {
  border-color: #ea580c !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 32px rgba(245, 158, 11, 0.45) !important;
  transform: translateY(-6px);
}

.card-gaet-et-ord .gop-identity-header {
  border-bottom: 1px solid rgba(217, 119, 6, 0.3);
}

.card-gaet-et-ord:hover .gop-emblem-box {
  transform: rotate(25deg) scale(1.08);
}

.card-gaet-et-ord .gop-brand-title {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #9a3412 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #9a3412;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.card-gaet-et-ord .gop-subtitle {
  color: #9a3412;
  font-weight: 600;
}

.card-gaet-et-ord .geo-desc {
  color: #451a03 !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.btn-geo {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid #fdba74 !important;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35) !important;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  padding: 1rem 1.15rem !important;
  font-size: 0.95rem !important;
}

.btn-geo:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.55) !important;
  border-color: #ffffff !important;
}

.btn-geo-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* ==========================================================================
   Ny i Dansk Special Identity Card (Digitale Læremidler)
   ========================================================================== */
.card-ny-i-dansk {
  background: radial-gradient(circle at 15% 15%, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), 0 0 24px rgba(37, 99, 235, 0.06) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.25rem !important;
  min-height: 420px;
}

.card-ny-i-dansk::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #dc2626 0%, #2563eb 50%, #10b981 100%);
}

.card-ny-i-dansk:hover {
  border-color: #2563eb !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14), 0 0 32px rgba(37, 99, 235, 0.18) !important;
  transform: translateY(-6px);
}

.nid-identity-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
}

.nid-logo-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.12));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-ny-i-dansk:hover .nid-logo-box {
  transform: scale(1.08);
}

.nid-logo-img {
  width: 56px;
  height: 56px;
  display: block;
}

.nid-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.nid-brand-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', var(--font-heading), sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
  color: #0f172a;
}

.nid-subtitle {
  font-family: 'Outfit', var(--font-body), sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.nid-desc {
  color: #334155 !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  flex-grow: 1;
  text-align: left;
}

/* Ny i Dansk Button */
.btn-nid {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid #60a5fa !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3) !important;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  padding: 1rem 1.15rem !important;
  font-size: 0.95rem !important;
}

.btn-nid:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45) !important;
  border-color: #93c5fd !important;
}

.btn-nid-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 4px;
}

/* ==========================================================================
   Grib genren Special Identity Card (Digitale Læremidler)
   ========================================================================== */
.card-grib-genren {
  background: radial-gradient(circle at 15% 15%, #ffffff 0%, #fbf8f3 55%, #f4ece1 100%) !important;
  border: 1.5px solid #dccbb1 !important;
  box-shadow: 0 12px 32px rgba(30, 25, 20, 0.08), 0 0 24px rgba(200, 138, 25, 0.06) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.25rem !important;
  min-height: 420px;
}

.card-grib-genren::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #bf4329 0%, #c88a19 35%, #25536e 70%, #386634 100%);
}

.card-grib-genren:hover {
  border-color: #c88a19 !important;
  box-shadow: 0 16px 40px rgba(30, 25, 20, 0.14), 0 0 32px rgba(200, 138, 25, 0.2) !important;
  transform: translateY(-6px);
}

.gg-identity-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eae1d3;
  width: 100%;
}

.gg-logo-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2.5px solid #c6985a;
  background: #fbf3df;
  padding: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(198, 152, 90, 0.25);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.card-grib-genren:hover .gg-logo-box {
  transform: scale(1.08) rotate(-4deg);
}

.gg-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.gg-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.gg-brand-title {
  font-family: 'Fraunces', 'Crimson Pro', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.12;
}

.gg-del-1 {
  color: #1e1914;
}

.gg-del-2 {
  color: #bf4329;
}

.gg-subtitle {
  font-family: 'Plus Jakarta Sans', var(--font-body), sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #5c5349;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.gg-desc {
  color: #3f3931 !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  flex-grow: 1;
  text-align: left;
}

.gg-desc strong {
  color: #bf4329;
  font-weight: 700;
}

/* Grib genren Button */
.btn-gg {
  background: linear-gradient(135deg, #bf4329 0%, #98311b 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid #fca5a5 !important;
  box-shadow: 0 4px 16px rgba(191, 67, 41, 0.35) !important;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  padding: 1rem 1.15rem !important;
  font-size: 0.95rem !important;
}

.btn-gg:hover {
  background: linear-gradient(135deg, #d34e32 0%, #bf4329 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(191, 67, 41, 0.5) !important;
  border-color: #ffffff !important;
}

/* ==========================================================================
   Teksternes tidsmaskine Special Identity Card (Digitale Læremidler)
   ========================================================================== */
.card-teksternes-tidsmaskine {
  background: radial-gradient(circle at 15% 15%, #ffffff 0%, #f4f9fb 55%, #eaf3f7 100%) !important;
  border: 1.5px solid #bdd5e2 !important;
  box-shadow: 0 12px 32px rgba(15, 58, 80, 0.08), 0 0 24px rgba(14, 116, 144, 0.06) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.25rem !important;
  min-height: 420px;
}

.card-teksternes-tidsmaskine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #1a597a 0%, #0e7490 35%, #d4af37 70%, #0284c7 100%);
}

.card-teksternes-tidsmaskine:hover {
  border-color: #0e7490 !important;
  box-shadow: 0 16px 40px rgba(15, 58, 80, 0.14), 0 0 32px rgba(14, 116, 144, 0.22) !important;
  transform: translateY(-6px);
}

.ttt-identity-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #dce8ef;
  width: 100%;
}

.ttt-logo-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(14, 116, 144, 0.3));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.card-teksternes-tidsmaskine:hover .ttt-logo-box {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 6px 16px rgba(14, 116, 144, 0.45)) drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}

.ttt-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.ttt-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.ttt-brand-title {
  font-family: 'Fraunces', 'Crimson Pro', Georgia, serif;
  font-size: clamp(1.25rem, 3.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

.ttt-del-1 {
  color: #0f172a;
}

.ttt-del-2 {
  color: #0e7490;
}

.ttt-subtitle {
  font-family: 'Plus Jakarta Sans', var(--font-body), sans-serif;
  font-size: clamp(0.62rem, 1.9vw, 0.74rem);
  font-weight: 800;
  color: #0e7490;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
}

.ttt-desc {
  color: #273844 !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  flex-grow: 1;
  text-align: left;
}

.ttt-desc strong {
  color: #0e7490;
  font-weight: 700;
}

/* Teksternes tidsmaskine Button */
.btn-ttt {
  background: linear-gradient(135deg, #0e7490 0%, #0f4c63 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid #67e8f9 !important;
  box-shadow: 0 4px 16px rgba(14, 116, 144, 0.35) !important;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  padding: 1rem 1.15rem !important;
  font-size: 0.95rem !important;
}

.btn-ttt:hover {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.5) !important;
  border-color: #ffffff !important;
}



/* Theory Portals Grid & Card Styles */
.theory-portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  max-width: 1050px;
  margin: 3.5rem auto 0;
}

.theory-portal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.theory-portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.theory-portal-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.theory-portal-icon i {
  width: 30px;
  height: 30px;
}

.theory-card-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.theory-card-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

/* Meningsfuld Undervisning Special Identity Card */
.card-meningsfuld-undervisning {
  background: #ffffff !important;
  border: 1.5px solid rgba(26, 67, 49, 0.22) !important;
  box-shadow: 0 10px 30px rgba(26, 67, 49, 0.08) !important;
  position: relative;
  overflow: hidden;
}

.card-meningsfuld-undervisning::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a4331, #2d7a52, #7cb342);
}

.card-meningsfuld-undervisning:hover {
  border-color: #2d7a52 !important;
  box-shadow: 0 16px 40px rgba(26, 67, 49, 0.16) !important;
  transform: translateY(-6px);
}

.mu-identity-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(26, 67, 49, 0.1);
}

.mu-logo-box {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mu-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.mu-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mu-brand-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #1a4331;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

.mu-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d7a52;
  line-height: 1.3;
}

.mu-desc {
  color: var(--text-muted) !important;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-mu {
  background: linear-gradient(135deg, #1a4331 0%, #2d7a52 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(26, 67, 49, 0.25) !important;
}

.btn-mu:hover {
  background: linear-gradient(135deg, #245c43 0%, #368d5f 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26, 67, 49, 0.35) !important;
}

/* Meaningful Teaching Inverted Green Special Identity Card */
.card-meaningful-teaching {
  background: radial-gradient(circle at 15% 15%, #184230 0%, #0d281c 100%) !important;
  border: 1.5px solid rgba(167, 243, 208, 0.35) !important;
  box-shadow: 0 12px 32px rgba(13, 40, 28, 0.45), 0 0 24px rgba(124, 179, 66, 0.15) !important;
  position: relative;
  overflow: hidden;
}

.card-meaningful-teaching::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7cb342, #a7f3d0, #ffffff);
}

.card-meaningful-teaching:hover {
  border-color: #a7f3d0 !important;
  box-shadow: 0 16px 42px rgba(13, 40, 28, 0.6), 0 0 32px rgba(167, 243, 208, 0.25) !important;
  transform: translateY(-6px);
}

.mt-identity-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mt-logo-box {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mt-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.mt-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mt-brand-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.mt-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #a7f3d0 !important;
  line-height: 1.3;
}

.mt-desc {
  color: #d1e7dd !important;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-mt {
  background: #ffffff !important;
  color: #123524 !important;
  font-weight: 800 !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  letter-spacing: 0.01em;
}

.btn-mt:hover {
  background: #f0fdf4 !important;
  color: #0c2519 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35) !important;
}

/* Orange hjørnebanner: Under udvikling (Teoretisk Univers) */
.card-corner-ribbon-orange {
  position: absolute;
  bottom: 38px;
  left: -75px;
  width: 250px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 6px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28), 0 0 16px rgba(245, 158, 11, 0.35);
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1.5px solid rgba(194, 65, 12, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  z-index: 10;
  pointer-events: none;
}

/* ==========================================================================
   FANE 3: Foredrag & Konsulentarbejde
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured-service {
  border: 2px solid var(--coral);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 2.5rem;
  background: var(--coral);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-format {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
}

.service-points li i {
  color: var(--emerald);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Package Estimator */
.estimator-container {
  background: linear-gradient(135deg, var(--primary) 0%, #163b5e 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: #ffffff;
  margin-top: 4.5rem;
  box-shadow: var(--shadow-lg);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.estimator-left h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.estimator-left p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.estimator-meta-info {
  display: flex;
  gap: 2rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.estimator-right {
  background: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  box-shadow: var(--shadow-md);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 43, 70, 0.12);
}

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

/* ==========================================================================
   FANE 4: Teoretisk Univers (De to portaler)
   ========================================================================== */
.theory-portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  max-width: 980px;
  margin: 3.5rem auto 0;
}

.theory-portal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.theory-portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 43, 70, 0.2);
}

.theory-portal-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.theory-portal-icon i {
  width: 32px;
  height: 32px;
}

.theory-card-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.theory-card-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.btn-portal {
  width: 100%;
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.btn-portal svg,
.btn-portal i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   FANE 5: Kontakt & Booking - Premium Visitkort
   ========================================================================== */
.contact-card-premium {
  max-width: 620px;
  width: 100%;
  background: radial-gradient(circle at 15% 15%, #184230 0%, #0c2317 100%);
  border: 1.5px solid rgba(200, 147, 52, 0.4);
  border-radius: var(--radius-lg);
  padding: 3.25rem 3rem 3rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(200, 147, 52, 0.12);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c89334, #fed049, #e59819);
}

.contact-card-premium:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 208, 73, 0.65);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 45px rgba(200, 147, 52, 0.22);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-card-logo {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(254, 208, 73, 0.4);
  background: #ffffff;
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

.contact-card-title .brand-by {
  color: #e59819;
  font-weight: 800;
  margin: 0 0.05em;
}

.contact-card-desc {
  font-family: var(--font-body);
  font-size: 1.18rem;
  line-height: 1.65;
  color: #d1e7dd;
  margin: 0 0 2.25rem 0;
}

.contact-card-email-wrapper {
  display: flex;
  align-items: center;
}

.contact-card-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-card-email-link i {
  width: 28px;
  height: 28px;
  color: #ffffff;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-card-email-link:hover {
  color: #fed049;
  transform: translateX(4px);
}

.contact-card-email-link:hover i {
  color: #fed049;
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .contact-card-premium {
    padding: 2rem 1.25rem;
  }
  .contact-card-header {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .contact-card-logo {
    width: 44px;
    height: 44px;
  }
  .contact-card-title {
    font-size: 1.35rem;
  }
  .contact-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .contact-card-email-link {
    font-size: 0.95rem;
    gap: 0.5rem;
    word-break: break-all;
  }
  .contact-card-email-link i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.info-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.info-card h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.email-highlight-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--primary-subtle);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 43, 70, 0.12);
  margin-bottom: 2rem;
}

.email-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.email-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.email-address {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.email-address:hover {
  color: var(--coral);
}

.guarantee-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.guarantee-icon {
  width: 22px;
  height: 22px;
  color: var(--coral);
  flex-shrink: 0;
  margin-top: 2px;
}

.guarantee-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

.guarantee-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.form-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   Booking Modal Overlay
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 26, 43, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.modal-lead {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Toast Feedback Notification
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  pointer-events: none;
}

.toast {
  background: var(--primary);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  border-left: 4px solid var(--coral);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-icon i {
  color: var(--emerald-bright);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #102118;
  color: #cad8ce;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(200, 147, 52, 0.2);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass-gold), var(--emerald), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #8da496;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.footer-email a:hover {
  color: var(--brass-gold);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a, .footer-tab-link {
  font-size: 0.875rem;
  color: #8da496;
  text-align: left;
}

.footer-links a:hover, .footer-tab-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: #637a6d;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-image-wrapper {
    justify-content: flex-start;
  }

  .estimator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .tab-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-drawer {
    display: flex;
  }

  .cv-columns-grid {
    grid-template-columns: 1fr;
  }

  .custom-collab-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.15rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .tab-hero-title {
    font-size: 1.95rem;
  }

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

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .estimator-container {
    padding: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .card-teksternes-tidsmaskine,
  .card-ny-i-dansk,
  .card-grib-genren {
    padding: 2.25rem 1.15rem !important;
  }
  .ttt-identity-header {
    gap: 0.85rem;
  }
}
