*{box-sizing:border-box}

html,body{height:100%}

body{
  margin:0;
  background: #f8f8ff;
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing:.1px;
}

:root{
  --bg:#f8f8ff;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --hover:#dc2626;
  --border:rgba(15,23,42,.10);
  --shadow:0 14px 38px rgba(15,23,42,.08);
  --radius:10px;
  --btnbg:linear-gradient(135deg, #FE8603, #F1390E);
  --font:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  --subfont:"Space Grotesk",Inter,sans-serif;
  --capitalize:uppercase;
}

.btn.primary{
  background: #f8622e;
  color:#fff;
  padding:10px 16px;
  border-radius: var(--radius);
  text-decoration:none;
  font-weight:600;
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.btn.primary:hover{
  background: #1ca043;
}

.okBox{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;padding:10px 12px;border-radius:14px;margin:0 0 12px;font-size:12px;}
.errBox{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;padding:10px 12px;border-radius:14px;margin:0 0 12px;font-size:12px;}

a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1620px;margin:0 auto;padding:10px;min-height:80vh;}

.topbar{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:14px 16px;
}
.brand{display:flex;align-items:center;gap:12px}
.logo{
  width:40px;
  height:40px;
  border-radius:14px;
  background: linear-gradient(135deg, #FE8603, #F1390E);
  box-shadow: 0 12px 24px rgba(37,99,235,.16);
  position:relative;
}

.logo::before{
  content:"";
  position:absolute;
  left:50%;
  top:25%;
  transform:translateX(-50%);
  width:13px;
  height:19px;
  background:#fff;
  clip-path:polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  border-radius:2px 2px 0 0;
}

.logo::after{
  content:"";
  position:absolute;
  left:50%;
  top:26px;
  transform:translateX(-50%);
  width:18px;
  height:2px;
  border-radius:999px;
}
.brand h1{margin:0;font-size:16px;font-family:var(--font)}
.brand .sub{margin:2px 0 0;color:var(--muted);font-size:12px}

.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:999px;border:1px solid var(--border);
  background:rgba(255,255,255,.9);
  color:var(--muted);font-size:13px
}
.dot{width:8px;height:8px;border-radius:99px;background:var(--accent2);box-shadow:0 0 0 6px rgba(16,185,129,.12)}

.card{
  border:1px solid var(--border);
  background:rgba(255,255,255,.82);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  margin:10px 0;
}
.card .hd{
  padding:14px 16px;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.80));
  border-bottom:1px solid var(--border);
  display:flex;align-items:center;justify-content:space-between;gap:12px
}
.card .hd h2{font-weight:700;margin:0;font-size:20px;font-family:var(--font);text-transform: var(--capitalize);}
.card .bd{padding:16px;}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
  color:var(--text);
  cursor:pointer;
  transition:.18s transform,.18s background,.18s border-color,.18s opacity;
  user-select:none;
  font-weight:600;
  white-space:nowrap;
  text-decoration:none !important;
  font-size: 13px;
}
.btn:hover{transform: translateY(-1px);background:#fff;border-color:rgba(15,23,42,.16)}
.btn:active{transform: translateY(0px)}

.btn.cta{
  padding:12px 18px;
  border-radius:16px;
  font-size:14px;
  letter-spacing:.1px;
}
.btn.small{padding:8px 12px;border-radius:var(--radius);font-size:12px;font-weight:600;}
.btn.disabled{opacity:.45;cursor:not-allowed;transform:none !important;pointer-events:none}

.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:12px;color:var(--muted)}
.input, .select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.95);
  color:var(--text);
  outline:none;
  font-family:var(--font);
}
textarea{min-height:160px;resize:vertical}
.hint{color:var(--muted);font-size:12px;line-height:1.4}

.recipes{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 1050px){.recipes{grid-template-columns:repeat(2, minmax(0,1fr));}}
@media (max-width: 650px){.recipes{grid-template-columns:1fr;}}

.tile{
  border:1px solid rgba(15,23,42,.10);
  background: #fff;
  border-radius:18px;
  overflow:hidden;
  cursor:pointer;
  transition:.18s transform,.18s border-color,.18s box-shadow;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}
.tile:hover{transform:translateY(-2px);border-color:rgba(37,99,235,.25);box-shadow: 0 16px 32px rgba(15,23,42,.10)}
.thumb{
  height:150px;
  border-bottom:1px solid rgba(15,23,42,.10);
  position:relative;
  background-size:cover;
  background-position:center;
  display:flex;align-items:flex-end;justify-content:space-between;
  padding:10px 12px;
  gap:10px;
}
.thumb::after{
  content:"";
  position:absolute;inset:0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.10) 55%, rgba(0,0,0,.38) 100%);
  pointer-events:none;
}
.thumb > *{position:relative;z-index:1}
.badge{
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(0,0,0,.35);
  color:white;font-size:12px;
  white-space:nowrap;
}
.tile .meta{padding:12px}
.title{font-family:var(--subfont);
  font-weight:900;margin:0 0 6px;font-size:15px;text-transform: var(--capitalize);}
.by{margin:0;color:var(--muted);font-size:12px}

.pageHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pageHead h3{margin:0;font-family:"Space Grotesk",Inter,sans-serif;font-size:28px;text-transform:uppercase;}
.pageHead .meta2{color:var(--muted);font-size:12px;margin-top:4px}

.detailGrid{display:grid;grid-template-columns: 360px 1fr; gap:40px; margin-top:14px}
@media (max-width: 900px){.detailGrid{grid-template-columns:1fr}}

.detailPic{
  height:280px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background-size:cover;
  background-position:center;
  position:relative;
  overflow:hidden;
}
.detailPic::after{
  content:"";
  position:absolute;inset:0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.08) 55%, rgba(0,0,0,.35) 100%);
}
.detailPic .chips{position:absolute;left:12px;bottom:12px;display:flex;gap:8px;z-index:1;flex-wrap:wrap}

.kvs{display:grid;grid-template-columns: 1fr 1fr;gap:10px}
.kv{border:1px solid rgba(15,23,42,.12);border-radius:16px;padding:10px 20px;background:rgba(255,255,255,.92);margin:10px 0px;}
.kv .k{color:var(--muted);font-size:12px}
.kv .v{font-weight:900;margin-top:4px}

.steps{margin-top:12px;padding:20px;}
.steps h4{margin:0 0 8px;font-size:13px;color:var(--muted);font-weight:900;letter-spacing:.3px;text-transform:uppercase}
.steps p{margin:0;line-height:1.7;color:rgba(15,23,42,.92)}
.hidden{display:none}


.notice{
  border: 1px solid rgb(28 185 35 / 25%);
  background: rgb(28 185 35 / 25%);
  border-radius: 16px;
  padding: 12px 14px;
  color: #000000;  
}
.notice b{display:block;margin-bottom:6px}
.fieldError{color:#b91c1c;font-size:12px;margin-top:4px}
.input.error, textarea.error, .select.error{border-color: rgba(185,28,28,.5); box-shadow: 0 0 0 4px rgba(248,113,113,.12);}

.stepsText p{margin:0 0 10px}
.stepsText h5{margin:30px 0 8px; font-family:var(--font);font-size:20px}
.stepsText ul{margin:0 0 10px 18px; padding:0}
.stepsText li{margin:6px 0; line-height:1.7;font-size:14px;}

.ingCard{margin-top:12px}
.ingList{display:flex;flex-direction:column;gap:8px}
.ingItem{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:5px 0px;
  border:0px solid rgba(15,23,42,.10);
  border-radius:14px;
  font-size: 14px;
  background:rgba(255,255,255,.92);
}
.ingItem input{width:18px;height:18px;}
.stepsText ol{margin:0 0 10px 18px; padding:0}
.stepsText ol li{margin:6px 0; line-height:1.7}
.catBar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:800;
  font-size: 12px;
}

.chip:hover{
  border-color: rgba(37,99,235,.25);
  transform: translateY(-1px);
}

.chip.active{
  background: linear-gradient(135deg,#FE8603, #F1390E);
  color:#fff;
  border-color: rgba(15,23,42,.08);
}

.chip.add{
  border-style:dashed;
}

.btn.edit{
  background:#f0f1f1;
  color:#000;
}

.btn.edit:hover{
  background:#d3d3d3;
}

.btn.danger{
  background:#d11a2a;
  color:#fff;
}

.btn.danger:hover{
  background:#a50f1c;
}
.stepItem{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:6px 0;
  border-bottom:1px solid #eee;
  cursor:pointer;
}

.stepItem span{
  flex:1;
  font-size: 13px;
}

.stepItem input{
  width:18px;
  height:18px;
}
.stepItem input:checked + .stepText{
  text-decoration: line-through;
  opacity:.6;
}
/* fælles pattern */
.ingItem, .stepItem{
  display:flex;
  align-items:flex-start;
  gap:12px;
  cursor:pointer;
}

.ingText, .stepText{
  flex:1;
}

/* checkbox visuelt til højre */
.ingCheck, .stepCheck{
  margin-left:auto;
  order:2;
}

/* teksten visuelt til venstre */
.ingText, .stepText{
  order:1;
}

/* line-through når checked */
.ingItem .ingCheck:checked + .ingText,
.stepItem .stepCheck:checked + .stepText{
  text-decoration: line-through;
  opacity:.6;
}

.ingTitle {
    margin: 30px 0px 8px !important;
    font-size: 20px;
    font-weight: 600 !important;
}
  .recipeTabs{ margin-top: 10px; }
  .tabsNav{
    display:flex; gap:10px; flex-wrap:wrap;
    position: sticky; top: 0;
    padding: 8px 0;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(8px);
    z-index: 5;
  }
  .tabBtn{
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    user-select:none;
  }
  .tabBtn:hover{
    border-color: rgba(37,99,235,.35);
    box-shadow: 0 6px 18px rgba(37,99,235,.10);
    background: var(--btnbg);
    color: white;    
  }  
  .tabBtn.active{
    border-color: rgba(37,99,235,.35);
    box-shadow: 0 6px 18px rgba(37,99,235,.10);
    background: var(--btnbg);
    color: white;    
  }
  .tabPanel{ display:none; margin-top: 10px; }
  .tabPanel.active{ display:block; }
  .tabActions{
    margin-top: 24px;
    display:flex; gap:10px; flex-wrap:wrap;
    position: sticky; bottom: 0;
    padding: 12px 0 6px;
    background: rgba(255,255,255,.90);
    backdrop-filter: blur(8px);
    z-index: 4;
  }

/* Landing (public frontpage) */
.landing{max-width:1560px;margin:0 auto;}
.landing-hero{margin-top:16px}
.landing-heroCard .bd{padding:26px}
.landing-h1{margin:0 0 10px;font-size:44px;line-height:1.02;letter-spacing:-.02em}
.landing-lead{margin:0;color:var(--muted);font-size:15px;max-width:70ch}
.landing-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.landing-section{margin-top:18px}
.landing-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.landing-kicker{width:30px;height:30px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:900;background:rgba(37,99,235,.10);color:#1d4ed8;margin-bottom:10px}
.landing-h2{margin:0 0 10px;font-size:18px;font-family:var(--font);}
.landing-h3{margin:0 0 8px;font-size:16px;font-family:var(--font);}
.landing-h4{margin:0 0 6px;font-size:15px;font-family:var(--font);}
.landing-p{margin:0;color:var(--muted);font-size:14px}
.landing-compare{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:10px}
.landing-compareTitle{font-weight:900;margin-bottom:8px}
.landing-list{margin:0;padding-left:18px;color:var(--muted)}
.landing-faq{display:grid;gap:10px}
.landing-summary{padding:14px 16px;font-weight:900;cursor:pointer;list-style:none}
.landing-summary::-webkit-details-marker{display:none}

/* Groups page */
.groupShell{max-width:980px;margin:0 auto;padding:0 16px}
.groupManageGrid{display:grid;grid-template-columns:1fr 360px;gap:14px;align-items:start}
.groupCreateCard{position:sticky;top:18px}
.groupOverviewGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:16px;
}
.chooseGroupShell{
  border-radius: 24px;
  border: 1px solid rgba(15,23,42,.06);
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  box-shadow:
    0 10px 30px rgba(15,23,42,.05),
    0 2px 10px rgba(15,23,42,.03);
}
@media (max-width: 900px){
  .groupManageGrid{grid-template-columns:1fr}
  .groupCreateCard{position:static}
}

@media (max-width: 900px){
  .landing-grid3{grid-template-columns:1fr}
  .landing-compare{grid-template-columns:1fr}
  .landing-h1{font-size:36px}
}

#qrImg{margin:0px auto;}

.activeFav{
  background: #fff7cc;
  border-color: #f5c518;
  color: #7a5a00;
}
.tile button{
box-shadow:0 2px 6px rgba(0,0,0,.2);
}

.tile button:hover{
transform:scale(1.1);
}
.btn > strong {
    text-transform: capitalize;
    font-weight: 800;
}

.landing-heroInner{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:40px;
  align-items:center;
}

.landingHeroV2{
  position:relative;
  min-height:760px;
  border-radius:0px;
  overflow:hidden;
  margin:28px 0 64px;
  background: linear-gradient(135deg,#FE8603, #F1390E);
}

.landingHeroBg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(130deg, rgba(8,15,30,.78) 0%, rgba(8,15,30,.42) 38%, rgba(8,15,30,.14) 100%),
    url('/assets/landing/hero-food.jpg') center/cover no-repeat;
}

.landingHeroContent{
  position:relative;
  z-index:2;
  min-height:760px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:32px;
  align-items:center;
  padding:72px 64px;
}

.landingHeroText h1{
  color:#fff;
  font-size:clamp(34px, 7vw, 50px);
  margin: 30px 0 10px;
  max-width: 560px;
}

.landingHeroText p{
  color:rgba(255,255,255,.9);
  font-size:23px;
  line-height:1.35;
  max-width:560px;
  margin:0 0 24px;
}

.landingEyebrow{
  color:rgba(255,255,255,.82);
  font-weight:700;
  letter-spacing:.08em;
  margin-bottom:18px;
}

.landingHeroActions{
  display:flex;
  gap:14px;
  margin-bottom:22px;
}

.landingHeroPills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.landingHeroPills .pill{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
}

.landingHeroVisuals{
  position:relative;
  height:100%;
  min-height:520px;
}

.landingShot{
  position:absolute;
  border-radius:26px;
  box-shadow:0 28px 60px rgba(0,0,0,.28);
  background-size:cover;
  background-position:center;
  border:6px solid rgba(255,255,255,.92);
}

.landingShot1{
  width:360px;
  height:480px;
  right:20px;
  top:10px;
  transform:rotate(10deg);
  background-image:url('/assets/landing/food-1.webp');
}

.landingShot2{
  width:320px;
  height:410px;
  left:40px;
  bottom:130px;
  transform:rotate(-11deg);
  background-image:url('/assets/landing/food-3.webp');
}

.landingShot3{
  width:290px;
  height:380px;
  right:220px;
  bottom:40px;
  transform:rotate(-4deg);
  background-image:url('/assets/landing/food-2.webp');
}
/* landing sections */

.landingSectionTitle{
  text-align:center;
  font-size:42px;
  margin:80px 0 40px;
  font-family:var(--font);
}

.landingStepsGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  margin-bottom:80px;
}

.landingStep{
  background:white;
  border-radius:22px;
  padding:30px;
  box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.stepNumber{
  width:36px;
  height:36px;
  border-radius:10px;
  background: linear-gradient(135deg,#FE8603, #F1390E);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  margin-bottom:14px;
}

.landingFeature{
  padding:120px 0;
}

.landingFeatureInner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.landingFeatureText h2{
  font-size:46px;
  margin-bottom:18px;
}

.landingFeatureList{
  margin-top:18px;
  line-height:1.7;
}

.landingFeatureImage img{
  width:100%;
  border-radius:26px;
}

.landingShare{
  padding:120px 0;
}

.landingShareInner{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:80px;
  align-items:center;
}

.landingShareImage img{
  width:100%;
  border-radius:26px;
}

.landingShareText h2{
  font-size:46px;
}

.landingShareBullets{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.landingShareBullets span{
  background:#eef2ff;
  padding:10px 14px;
  border-radius:999px;
  font-weight:600;
}

.landingStats{
  padding:120px 0;
}

.landingStatsGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:60px;
  text-align:center;
}

.statNumber{
  font-size:54px;
  font-weight:800;
  background:linear-gradient(135deg,#2563eb,#10b981);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.statLabel{
  margin-top:10px;
  color:var(--muted);
}

/* Footer */

.siteFooter{
  margin-top:120px;
  background: #FE8603;
  color:white;
  padding:80px 60px 40px;
}

.footerInner{
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:60px;
}

.footerBrand p{
  margin-top:14px;
  color:rgba(255,255,255,.85);
  max-width:420px;
  line-height:1.6;
}

.footerLogo{
  display:flex;
  align-items:center;
  gap:12px;
}

.footerSub{
  font-size:13px;
  opacity:.8;
}

.footerCol h4{
  margin-bottom:14px;
  font-size:16px;
}

.footerCol a{
  display:block;
  margin-bottom:10px;
  color:rgba(255,255,255,.85);
  text-decoration:none;
}

.footerCol a:hover{
  color:white;
}

.footerBottom{
  max-width:1400px;
  margin:60px auto 0;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.25);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}

.footerLinks{
  display:flex;
  gap:16px;
}

.footerLinks a{
  color:rgba(255,255,255,.85);
  text-decoration:none;
}

.footerLinks a:hover{
  color:white;
}

.landingFeatureAlt{
  margin: 40px 0;
  padding: 40px 0;
}

.landingMiniKicker{
  display:inline-block;
  margin-bottom:14px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  color: #FE8603;
  text-transform:uppercase;
}

.landingFeatureInner{
  display:grid;
  grid-template-columns:450px 1fr;
  gap:80px;
  align-items:center;
}

.landingFeatureText h2{
  font-size:58px;
  line-height:1.02;
  margin:0 0 18px;
  font-family:var(--font);
}

.landingFeatureText p{
  font-size:24px;
  line-height:1.45;
  color:var(--text);
  max-width:720px;
  margin:0 0 22px;
}

.landingFeatureList{
  margin:0;
  padding-left:22px;
  line-height:1.9;
  font-size:19px;
  color:var(--text);
}

.landingFeatureBadges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

.landingFeatureBadges span{
  padding:10px 14px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid rgba(37,99,235,.12);
  color:#1e3a8a;
  font-weight:700;
  font-size:14px;
}

.landingFeatureVisual{
  position:relative;
  min-height:520px;
}

.landingFeatureCard{
  position:absolute;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(15,23,42,.18);
  border:6px solid rgba(255,255,255,.9);
  background:white;
}

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

.landingFeatureCardBack{
  width:420px;
  height:500px;
  right:0;
  top:0;
  transform:rotate(6deg);
}

.landingFeatureCardFront{
  width:340px;
  min-height:300px;
  left:20px;
  bottom:20px;
  transform:rotate(-4deg);
  padding:24px;
  display:flex;
  align-items:center;
}

.fakeChat{
  display:flex;
  flex-direction:column;
  gap:12px;
  width:100%;
}

.fakeBubble{
  padding:14px 16px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.08);
  font-size:15px;
  line-height:1.45;
  color:var(--text);
}

.fakeBubble.active{
  background:linear-gradient(135deg, rgba(37,99,235,.08), rgba(16,185,129,.08));
  border-color:rgba(16,185,129,.22);
  font-weight:700;
}

@media (max-width: 1100px){
  .landingFeatureInner{
    grid-template-columns:1fr;
    gap:40px;
  }

  .landingFeatureText h2{
    font-size:42px;
  }

  .landingFeatureText p{
    font-size:20px;
  }

  .landingFeatureVisual{
    min-height:460px;
  }

  .landingFeatureCardBack{
    width:320px;
    height:400px;
  }

  .landingFeatureCardFront{
    width:280px;
    min-height:260px;
  }
}
/* Chat card */

.memoryChatCard{
  position:absolute;
  left:20px;
  bottom:40px;
  width:360px;
  background:white;
  border-radius:26px;
  box-shadow:0 28px 60px rgba(15,23,42,.18);
  border:1px solid rgba(15,23,42,.08);
  overflow:hidden;
  transform:rotate(-3deg);
}

/* header */

.chatHeader{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  border-bottom:1px solid rgba(15,23,42,.08);
  font-weight:700;
  font-size:14px;
}

.chatAvatar{
  width:26px;
  height:26px;
  border-radius:50%;
  background: linear-gradient(135deg,#FE8603, #F1390E);
}

.chatName{
  font-weight:700;
}

/* messages */

.chatMessages{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.chatMsg{
  max-width:80%;
  padding:12px 14px;
  border-radius:16px;
  font-size:14px;
  line-height:1.4;
}

.chatMsg.left{
  background:#f1f5f9;
  align-self:flex-start;
}

.chatMsg.right{
  background:#2563eb;
  color:white;
  align-self:flex-end;
}

.chatMsg.success{
  background: linear-gradient(135deg,#FE8603, #F1390E);
}
.chatHeader::before{
  content:"9:41";
  font-size:11px;
  color:#64748b;
  margin-right:auto;
}

.authShell{
  margin: 18px auto 0;
  min-height: clamp(520px, calc(100vh - 260px), 720px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 18px;
  align-items: stretch;
}
.authCard,
.authAside{
  height: 100%;
}
.authCard .bd,
.authAside .bd{
  padding: 22px;
}
.authAside{
  display:flex;
  flex-direction:column;
}
.authAside .hd{
  align-items:flex-start;
  justify-content:flex-start;
}
.authAside .bd{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap: 22px;
}
.authEyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.14);
  background:rgba(37,99,235,.07);
  color:#1d4ed8;
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  text-transform:uppercase;
}
.authTitle{
  margin: 14px 0 10px;
  font-family:var(--font);
  font-size: clamp(28px, 3vw, 42px);
  line-height:1.02;
}
.authLead{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
  max-width: 34ch;
}
.authPoints{
  display:grid;
  gap:12px;
}
.authPoint{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 16px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:rgba(255,255,255,.72);
}
.authPointIcon{
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(37,99,235,.14), rgba(16,185,129,.14));
  font-size:16px;
  flex:0 0 34px;
}
.authPoint strong{
  display:block;
  font-size:14px;
  margin-bottom:4px;
}
.authPoint span{
  display:block;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.authAsideActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.authCard .hd{
  align-items:flex-start;
}
.authCard .hdText{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.authCard .hdText .muted{
  line-height:1.5;
}
.muted{
  font-size: 12px;
}
@media (max-width: 900px){
  .authShell{
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .authCard,
  .authAside{
    height:auto;
  }
  .authTitle{
    max-width: 14ch;
  }
}
.emptyStart{
  max-width:900px;
  margin:40px auto;
  border-radius:18px;
}

.emptyIntro h2{
  font-size:20px;
  margin-bottom:8px;
  font-weight:400;
}

.emptyIntro p{
  color:#6b7280;
  margin-bottom:28px;
  font-size:14px;
}

.emptyActions{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.emptyCard{
  display:flex;
  align-items:flex-start;
  gap:18px;
  padding:18px;
  border:1px solid #eef2f7;
  border-radius:14px;
  background:#fafbfd;
}

.emptyIcon{
  width:42px;
  height:42px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  background:#eef4ff;
}

.emptyText h3{
  margin:0;
  font-size:18px;
}

.emptyText p{
  margin:4px 0 10px;
  color:#6b7280;
  font-size: 12px;
}
.btn.ghost{
  background:#f3f4f6;
  padding:8px 14px;
  border-radius:10px;
  text-decoration:none;
  color:#374151;
}

.emptyIcon{
  position:relative;
}

.wishBadge{
  position:absolute;
  top:-6px;
  right:-6px;
  background:#e11d48;
  color:#fff;
  font-size:12px;
  font-weight:700;
  border-radius:999px;
  padding:2px 7px;
  min-width:18px;
  text-align:center;
  line-height:1.2;
  box-shadow:0 2px 6px rgba(0,0,0,0.15);
}
/* Action intro */

.actionIntro{
  margin:20px 0 30px 0;
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  gap:16px;
  align-items:stretch;
}

.actionCard{
  background:#fff;
  border-radius:16px;
  padding:20px;
  border:1px solid rgba(15,23,42,.08);
  display:flex;
  gap:16px;
  align-items:flex-start;
  height:100%;
  min-width:0;
}

.actionCard.main{
  padding:20px;
}

.actionCard .icon{
  font-size:26px;
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1f5f9;
  border-radius:10px;
  flex:0 0 44px;
}

.actionCard .content{
  min-width:0;
}

.actionCard .content h3,
.actionCard .content h4{
  margin:0 0 6px 0;
  line-height:1.15;
}

.actionCard .content p{
  margin:0 0 12px 0;
  color:#64748b;
  line-height:1.45;
  font-size: 14px;
}

.actionCard .buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.actionGrid{
  display:contents;
}

@media (max-width: 1100px){
  .actionIntro{
    grid-template-columns:1fr;
  }
}

/* mobile header cleanup */
@media (max-width: 720px){

  .topbar{
    flex-wrap:nowrap;
  }

  .topbar .btn.small{
    display:none;
  }

  .topbar .cta{
    display:none;
  }

}
.mobileMenuBtn{
  position:fixed;
  bottom:20px;
  right:20px;
  width:64px;
  height:64px;
  border-radius:50%;
  border:none;
  font-size:28px;
  color:white;
  background:linear-gradient( 135deg, #FE8603, #F1390E);

  box-shadow:0 10px 30px rgba(0,0,0,.25);
  cursor:pointer;

  display:none;
  z-index:999;
}

.mobileMenu{
  position:fixed;
  bottom:100px;
  right:20px;

  display:none;
  flex-direction:column;
  gap:10px;

  background:white;
  padding:14px;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);

  z-index:999;
}

.mobileMenu.open{
  display:flex;
}

@media (max-width:720px){
  .mobileMenuBtn{
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .memoryChatCard{
    bottom:0px;
    width:300px;
  }
  .mobileMenuBtn{
    background:linear-gradient( 135deg, #FE8603, #F1390E) !important;
  }
}

/* Footer responsive */
@media (max-width: 900px){
  .siteFooter{
    margin-top:72px;
    padding:48px 24px 28px;
  }

  .footerInner{
    grid-template-columns:1fr 1fr;
    gap:32px 20px;
  }
}

@media (max-width: 640px){
  .siteFooter{
    margin-top:56px;
    padding:40px 30px 24px;
  }

  .footerInner{
    grid-template-columns:1fr;
    gap:24px;
  }

  .footerBrand p{
    max-width:none;
    font-size:14px;
    line-height:1.6;
  }

  .footerCol h4{
    margin:0 0 10px;
    font-size:15px;
  }

  .footerCol a{
    margin-bottom:8px;
    font-size:14px;
  }

  .footerBottom{
    margin-top:28px;
    padding-top:18px;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .footerLinks{
    flex-wrap:wrap;
    gap:10px 14px;
  }

  .footerLogo{
    align-items:flex-start;
  }
}

/* Steps section */
.landingSteps{
  padding:40px 0px;
}

.landingStepsGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:28px;
  margin:0 0 80px;
}

.landingStep{
  background:#fff;
  border-radius:22px;
  padding:30px;
  box-shadow:0 20px 40px rgba(0,0,0,.08);
  min-width:0;
}

.landingStep h3{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.15;
  font-family:var(--font);
}

.landingStep p{
  margin:0;
  font-size:16px;
  line-height:1.6;
  color:#475569;
}

.stepNumber{
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  font-size:20px;
  font-weight:800;
  color:#fff;
  background: linear-gradient(135deg,#FE8603, #F1390E);
  box-shadow:0 12px 24px rgba(37,99,235,.18);
}

/* Tablet */
@media (max-width: 980px){
  .landingSteps{
    padding:0 16px;
  }

  .landingStepsGrid{
    grid-template-columns:1fr;
    gap:18px;
    margin-bottom:56px;
  }

  .landingStep{
    padding:24px;
  }

  .landingStep h3{
    font-size:22px;
  }

  .landingStep p{
    font-size:15px;
  }
}

/* Mobile */
@media (max-width: 640px){
  .landingSteps{
    padding:0 14px;
  }

  .landingStepsGrid{
    gap:14px;
    margin-bottom:44px;
  }

  .landingStep{
    border-radius:18px;
    padding:20px 18px;
    box-shadow:0 12px 28px rgba(0,0,0,.08);
  }

  .stepNumber{
    width:44px;
    height:44px;
    border-radius:14px;
    margin-bottom:14px;
    font-size:18px;
  }

  .landingStep h3{
    font-size:20px;
    margin-bottom:8px;
  }

  .landingStep p{
    font-size:14px;
    line-height:1.55;
  }
}

@media (max-width: 1100px){
  .landingFeatureInner{
    grid-template-columns:1fr;
    grid-template-areas:
      "text"
      "visual";
    gap:32px;
  }

  .landingFeatureText{
    grid-area:text;
  }

  .landingFeatureVisual{
    grid-area:visual;
    max-width:520px;
    width:100%;
    margin:0 auto;
  }
}

@media (max-width: 1600px){
  .landingShot1 {
    width: 260px;
    height: 380px;
  }
  .landingShot2 {
    width: 220px;
    height: 310px;
    bottom: 150px;
  }
  .landingShot3 {
    width: 190px;
    height: 280px;
    bottom: 10px;
  }
}


@media (max-width: 1100px){
  .landingFeatureText{
    padding: 0 16px;
  }
  .landingHeroContent{
    grid-template-columns: 1fr;
    padding: 32px 30px;
  }
  .landingHeroVisuals{
    display: none;
  }
  .landingHeroText h1{
    margin:15px 0 10px;
    font-size: 32px;
  }
  .landingHeroText p{
    font-size:16px;
  }
  .landingFeatureText p{
    max-width: 100%;
  }
  .landingShot3{
    width: 190px;
    height: 280px;
    bottom: 10px;
    right: 100px;
  }  
}

.chooseGroupGrid{
  grid-template-columns:3fr 1fr;
}

.requestsGrid{
  grid-template-columns:420px minmax(0, 1fr);
  align-items:start;
}

@media (max-width: 900px){
  .chooseGroupGrid{
    grid-template-columns:1fr;
  }
  .requestsGrid{
    grid-template-columns:1fr;
  }  
}

.infoBox{
  padding:14px 16px;
  border:1px solid rgba(37,99,235,.16);
  background:linear-gradient(180deg, rgba(37,99,235,.08), rgba(16,185,129,.06));
  border-radius:16px;
  color:#0f172a;
  line-height:1.5;
}

.recipeTickerSection{
  overflow: hidden;
}

.recipeTickerIntro{
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
  padding: 0 20px;
}

.recipeTickerIntro h2{
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.recipeTickerIntro p{
  margin: 0;
  font-size: 16px;
  color: #5f6470;
  line-height: 1.6;
}

.recipeTickerWrap{
  display: grid;
  gap: 16px;
}

.recipeTicker{
  position: relative;
  overflow: hidden;
  width: 100%;
}

.recipeTicker::before,
.recipeTicker::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  z-index: 2;
  pointer-events: none;
}

.recipeTicker::before{
  left: 0;
  background: linear-gradient(to right, #fafafa 0%, rgba(250,250,250,0) 100%);
}

.recipeTicker::after{
  right: 0;
  background: linear-gradient(to left, #fafafa 0%, rgba(250,250,250,0) 100%);
}

.recipeTickerTrack{
  width: max-content;
  display: flex;
  align-items: center;
  gap: 16px;
}

.trackLeft .recipeTickerTrack{
  animation: recipeTickerLeft 120s linear infinite;
}

.trackRight .recipeTickerTrack{
  animation: recipeTickerRight 120s linear infinite;
}

.recipeTickerPill{
  flex: 0 0 auto;
  min-width: 220px;
  padding: 20px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(20, 24, 31, 0.05);
  box-shadow: 0 10px 30px rgba(20, 24, 31, 0.05);
  font-family:var(--font);
  font-size: 18px;
  font-weight: 700;
  color: #151515;
  text-align: center;
  white-space: nowrap;
}

@keyframes recipeTickerLeft{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

@keyframes recipeTickerRight{
  from{
    transform: translateX(-50%);
  }
  to{
    transform: translateX(0);
  }
}

@media (max-width: 768px){
  .recipeTickerSection{
    padding: 36px 0 12px;
  }

  .recipeTickerPill{
    min-width: 180px;
    padding: 16px 18px;
    font-size: 15px;
    border-radius: 16px;
  }

  .recipeTicker::before,
  .recipeTicker::after{
    width: 44px;
  }

  .trackLeft .recipeTickerTrack,
  .trackRight .recipeTickerTrack{
    animation-duration: 120s;
  }
}

@media (prefers-reduced-motion: reduce){
  .trackLeft .recipeTickerTrack,
  .trackRight .recipeTickerTrack{
    animation: none;
  }
}

.groupListCard{
  margin: 0px;
}

.name{
  text-transform: capitalize;
}


/* Live preview - opskrift */
.recipeEditorShell{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:24px;align-items:start}
.recipeEditorMain{min-width:0}
.recipeEditorAside{min-width:0}
.recipePreviewSticky{position:sticky;top:96px;margin-top:10px;}
.recipePreviewCard{border:1px solid rgba(15,23,42,.10);background:linear-gradient(180deg,#ffffff 0%,#fbfbfd 100%);border-radius:var(--radius);overflow:hidden;box-shadow:0 24px 60px rgba(15,23,42,.10)}
.recipePreviewHero{position:relative;aspect-ratio:16/10;background:linear-gradient(135deg,#f6f7fb 0%,#eceff6 100%);overflow:hidden}
.recipePreviewHero img{width:100%;height:100%;object-fit:cover;display:block}
.recipePreviewHero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,0) 0%,rgba(15,23,42,.10) 58%,rgba(15,23,42,.32) 100%);pointer-events:none}
.recipePreviewHeroInner{position:absolute;left:18px;right:18px;bottom:18px;z-index:1;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.recipePreviewBadge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.65);font-size:12px;font-weight:800;color:#18212f}
.recipePreviewImagePlaceholder{position:absolute;inset:0;display:grid;place-items:center;padding:24px;text-align:center;color:#64748b;font-weight:700;line-height:1.5}
.recipePreviewBody{padding:22px}
.recipePreviewEyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#f97316;margin-bottom:10px}
.recipePreviewTitle{margin:0;font-family:"Space Grotesk",Inter,sans-serif;font-size:30px;line-height:1.02;letter-spacing:-.03em;color:#0f172a}
.recipePreviewRoute{margin-top:14px;padding:14px 16px;border-radius:18px;background:linear-gradient(180deg,#fffaf5 0%,#fff 100%);border:1px solid rgba(249,115,22,.16);display:grid;gap:8px}
.recipePreviewRouteLabel{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#f97316}
.recipePreviewRouteUrl{font-size:13px;line-height:1.55;color:#0f172a;word-break:break-word}
.recipePreviewRouteMeta{display:flex;flex-wrap:wrap;gap:8px 12px;color:#475569;font-size:12px}
.recipePreviewRouteMeta strong{color:#0f172a}
.recipePreviewMeta{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.recipePreviewMetaItem{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 10px 24px rgba(15,23,42,.05);font-size:13px;font-weight:700;color:#1e293b}
.recipePreviewDivider{height:1px;background:linear-gradient(90deg,rgba(15,23,42,0),rgba(15,23,42,.10),rgba(15,23,42,0));margin:22px 0}
.recipePreviewSection{display:grid;gap:12px}
.recipePreviewSection + .recipePreviewSection{margin-top:22px}
.recipePreviewSection h3{margin:0;font-size:14px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#0f172a}
.recipePreviewList{display:flex;flex-direction:column;gap:10px}
.recipePreviewIngredientTitle,.recipePreviewStepTitle{font-size:14px;font-weight:900;color:#0f172a;margin-top:8px}
.recipePreviewIngredientItem,.recipePreviewStepItem{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid rgba(15,23,42,.08);font-size:14px;}
.recipePreviewIngredientBullet{width:10px;height:10px;border-radius:999px;background:linear-gradient(135deg,#FE8603,#F1390E);margin-top:5px;flex:0 0 auto}
.recipePreviewStepNumber{width:20px;height:20px;flex:0 0 20px;border-radius:999px;display:grid;place-items:center;background:var(--btnbg);color:#fff;font-weight:600;font-size:13px;box-shadow:0 10px 22px rgba(37,99,235,.22)}
.recipePreviewNotes{padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,rgba(254,134,3,.08),rgba(241,57,14,.06));border:1px solid rgba(241,57,14,.10);color:#374151;line-height:1.65;white-space:pre-wrap}
.recipePreviewEmpty{padding:16px 18px;border-radius:18px;border:1px dashed rgba(15,23,42,.16);background:rgba(248,250,252,.8);color:#64748b;line-height:1.55;font-size:12px;}
.recipePreviewPanelHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.recipePreviewPanelHead h3{margin:0;font-size:15px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#0f172a}
.recipePreviewHint{font-size:12px;color:var(--muted)}
.recipeEditorMiniLabel{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;background:rgba(15,23,42,.05);font-size:11px;font-weight:800;color:#334155;text-transform:uppercase;letter-spacing:.08em}
.recipeFormGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.recipePreviewToggle{display:none}
.recipeText{margin:2px 0 0;}
.recipeWizardActions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.recipeWizardButtons{
  display:flex;
  gap:10px;
}
.recipeWizardCancel{
  margin-left:auto;
}

@media (max-width: 1100px){
  .recipeEditorShell{grid-template-columns:1fr}
  .recipePreviewSticky{position:static}
  .recipePreviewToggle{display:inline-flex}
}
@media (max-width: 720px){
  .recipeFormGrid{grid-template-columns:1fr}
  .recipePreviewTitle{font-size:24px}
  .recipePreviewBody{padding:18px}
}

.titelGroup {
    font-size: 22px;
    font-weight: 600;
}
.catBarDesktop{
  display:flex;
}

.catBarMobile{
  display:none;
}

.categoryFilterForm{
  width:100%;
}

.categorySelect{
  min-width:220px;
}

/* skjul label visuelt, men behold den for accessibility */
.srOnly{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media (max-width: 720px){
  .catBarDesktop{
    display:none;
  }

  .catBarMobile{
    display:block;
    width:100%;
  }

  .categorySelect{
    width:100%;
    font-weight:700;
    border-radius:12px;
  }
}

.catFilterRow{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.categorySelect{
  min-width:220px;
  max-width:260px;
}