﻿/* Ens layout for case-sider: tekst til venstre, billede til højre */
.case-flex-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    justify-content: flex-start;
}
.case-flex-row .overskrift-tekst-blok {
    flex: 1 1 0;
    min-width: 0;
}
.case-flex-row img.foto-case-image {
    flex: 0 0 320px;
    max-width: 340px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    object-fit: cover;
    background: #fff;
    margin: 0;
    display: block;
}
@media (max-width: 900px) {
    .case-flex-row {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    .case-flex-row .overskrift-tekst-blok {
        width: 100%;
        max-width: 100%;
    }
    .case-flex-row > a {
        width: 100%;
    }
    .case-flex-row img.foto-case-image {
        max-width: 100%;
        flex: none;
        margin: 0 auto;
    }
}
/* Word Festival case - tekstblok og billeder grid */
.case-tekstblok {
    background: rgba(249,249,249,0.7);
    border-radius: 12px;
    padding: 32px 28px 24px 28px;
    margin: 30px 0 24px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    max-width: 650px;
}
.case-tekstblok p {
    font-size: 1.09rem;
    line-height: 1.8;
    margin-bottom: 22px;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}
.case-tekstblok p:last-child {
    margin-bottom: 0;
}
.case-tekstblok strong {
    font-weight: 700;
    color: #005f73;
}
.case-tekstblok .case-kompetencer {
    font-size: 1rem;
    margin-top: 10px;
    color: #1a1a1a;
}
.case-tekstblok h2 {
    font-size: 1.18rem;
    color: #005f73;
    font-weight: 700;
    margin: 28px 0 10px 0;
    letter-spacing: 0.5px;
}
.case-tekstblok h2:first-child {
    margin-top: 0;
}
.caseside-billeder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 40px auto 0 auto;
    align-items: start;
}
.caseside-billeder-grid img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    object-fit: cover;
    background: #fff;
    margin: 0 auto;
    display: block;
}
@media (max-width: 700px) {
    .caseside-billeder-grid {
        grid-template-columns: 1fr;
    }
    .caseside-billeder-grid img {
        max-width: 100%;
    }
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}
/* Målgruppe intro animation */
.målgruppe-intro-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: målgruppeFadeInUp 1s ease-out 0.2s forwards;
}

@keyframes målgruppeFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.overskrift-tekst-blok .btn,
.kontakt-cta .btn {
    align-items: center;
    margin-left: 0;
    margin-right: 0;
}
.målgruppe-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 1200px) {
    .målgruppe-cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 18px;
    }
}
@media (max-width: 700px) {
    .målgruppe-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}
.målgruppe-sektion {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 10%;

}
.målgruppe-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.målgruppe-cards-grid .case-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: left;
    padding: 0;
}
.målgruppe-cards-grid .case-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 25px 20px 20px 20px;
}
.målgruppe-cards-grid .case-content h3 {
    font-size: 22px;
    color: #5ec776;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: left;
}
.målgruppe-cards-grid .case-content p {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
    margin: 0;
    background: none;
    padding: 0;
    border-radius: 0;
    text-align: left;
}
.målgruppe > p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.6;
}
.målgruppe-cta {
    margin-top: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.målgruppe-cta p {
    max-width: 500px;
    margin: 0 auto 18px auto;
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 500;
}
@media (max-width: 1200px) {
    .målgruppe-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
@media (max-width: 700px) {
    .målgruppe-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .målgruppe-cards-grid .case-card {
        min-height: 140px;
    }
    .målgruppe-cta p {
        max-width: 100%;
    }
}
/* Målgruppe cards matcher cases cards */
.målgruppe-cards-grid {
    margin-bottom: 30px;
}
.målgruppe-cards-grid .case-card {
    min-height: 220px;
}
.målgruppe-extra {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
    margin: 20px 0 0 0;
    text-align: center;
}
@media (max-width: 900px) {
    .målgruppe-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .målgruppe-cards-grid .case-card {
        min-height: 180px;
    }
}
@media (max-width: 600px) {
    .målgruppe-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .målgruppe-cards-grid .case-card {
        min-height: 140px;
    }
}
/* Digitale pensler cards styling */
.tools-cards-section {
    background: transparent;
    padding: 20px 10% 60px 10%;
    text-align: center;
}

.tools-cards-section h1 {
    font-size: clamp(22px, 5vw, 30px);
    color: #005f73;
    margin-bottom: 20px;
    font-weight: 800;
}

.tools-cards-section p {
    font-size: clamp(15px, 2.5vw, 17px);
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 500;
}

.tools-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.tools-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}
.tools-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.tools-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 18px;
}
.tools-card h3 {
    font-size: 22px;
    color: #5ec776;
    margin-bottom: 8px;
    font-weight: 700;
}
.tools-card-sub {
    font-size: 15px;
    color: #005f73;
    margin-bottom: 12px;
    font-weight: 600;
}
.tools-card p {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
    margin: 0;
    background: none;
    padding: 0;
    border-radius: 0;
}

@media (max-width: 900px) {
    .tools-cards-section {
        padding: 40px 3%;
    }
    .tools-cards-grid {
        gap: 18px;
    }
    .tools-card {
        padding: 18px 8px 12px 8px;
    }
    .tools-card img {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 600px) {
    .tools-cards-section {
        padding: 20px 2%;
    }
    .tools-cards-grid {
        gap: 10px;
    }
    .tools-card {
        padding: 10px 2px 8px 2px;
    }
    .tools-card img {
        width: 32px;
        height: 32px;
    }
}

/* =============================================
   FRONTEND KOMPETENCER - SKILLS SECTION
   ============================================= */
.skills-section {
    padding: 60px 10%;
    background: #f4f9f9;
    text-align: center;
}
.skills-section h2 {
    font-size: clamp(22px, 5vw, 30px);
    color: #005f73;
    margin-bottom: 10px;
    font-weight: 800;
}
.skills-section > p {
    font-size: clamp(15px, 2.5vw, 17px);
    color: #1a1a1a;
    margin-bottom: 30px;
}
.skills-group {
    margin-bottom: 30px;
}
.skills-group-label {
    font-size: 16px;
    font-weight: 700;
    color: #005f73;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.skill-tag {
    background: #005f73;
    color: #fff;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
}
.skill-tag.design {
    background: #5ec776;
}
.skill-tag.lang {
    background: #0a9396;
}

/* =============================================
   UDDANNELSE & ERFARING SECTION
   ============================================= */
.uddannelse-erfaring-section {
    padding: 60px 10%;
    background: #ffffff;
    text-align: center;
}
.uddannelse-erfaring-section h2 {
    font-size: clamp(22px, 5vw, 30px);
    color: #005f73;
    margin-bottom: 20px;
    font-weight: 800;
}
.ue-intro {
    max-width: 640px;
    margin: 0 auto 32px auto;
    font-size: clamp(15px, 2vw, 17px);
    color: #444;
    line-height: 1.75;
    font-weight: 400;
}
.cv-btn {
    font-size: 15px;
    letter-spacing: 0.08em;
    padding: 13px 32px;
}
.ue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}
.ue-column h3 {
    font-size: 18px;
    color: #5ec776;
    font-weight: 700;
    margin-bottom: 16px;
    border-bottom: 2px solid #5ec776;
    padding-bottom: 8px;
}
.ue-item {
    background: #f4f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}
.ue-item h4 {
    font-size: 16px;
    color: #005f73;
    font-weight: 700;
    margin-bottom: 4px;
}
.ue-item .ue-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    font-style: italic;
    font-weight: 400;
}
.ue-item p:not(.ue-meta) {
    font-size: 14px;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

@media (max-width: 768px) {
    .ue-grid {
        grid-template-columns: 1fr;
    }
    .skills-section,
    .uddannelse-erfaring-section {
        padding: 40px 5%;
    }
}

/* Nogle CSS-elementer er inspireret af guides fra https://www.w3schools.com/ */
*{
    padding:0;
    box-sizing:border-box;
    font-family: 'Poppins', sans-serif;
}
/*gælder for alle <p> elementer*/
p {
    font-size: clamp(15px, 2.5vw, 17px); /* min 15px, max 17px, 2.5 viewport width responsive væks */
    font-weight: 500;
    line-height: 1.6;
}

.hero {
    width: 100%;
    min-width: 320px;
    min-height: 100vh;  
    background-image: linear-gradient(rgba(255,255,255,0.76), rgba(255,255,255,0.68)), url("assets/background.webp");
    background-size: cover;
    background-position: center;
    padding: 30px 10%;
    overflow: visible;  
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a9396, #5ec776);
    z-index: 10;
}

.logo {
    width: 140px;
    height: auto;
    transition: all 0.3s ease;
}

/* Kun logo-linket i headeren får pointer */
.hero .logo {
    cursor: pointer;
}

/* Tekst-baseret logo til saraalkhafaje.dk */
.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #0a9396;
    text-decoration: none;
    letter-spacing: -0.4px;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.logo-text:hover {
    opacity: 0.75;
}
/* Logo med SVG-mærke + tekst (nav) */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.4px;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.logo-link:hover {
    opacity: 0.75;
}
.logo-mark {
    height: 22px;
    width: auto;
    flex-shrink: 0;
    display: block;
}
/* Footer logo-tekst: hvid på mørk baggrund */
.footer .logo-text,
.footer span.logo-text {
    color: #ffffff;
    font-size: 22px;
}

/* Flex-nav: logo til venstre, menu til højre med jævnt mellemrum */
.hero nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid transparent;
}

.hero nav ul {
    display: flex;
    gap: 20px;
}

.hero nav ul li {
    list-style: none;
}

.hero nav ul li a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.hero nav ul li a:hover {
    color: #0a9396;
    border-bottom-color: #0a9396;
}

.hero nav ul li.active a {
    color: #0a9396;
    border-bottom-color: #0a9396;
}

/* ---- BURGER MENU: Inspireret af https://www.w3schools.com/howto/howto_js_mobile_navbar.asp ---- */
.icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #1a1a1a;
}

#myLinks {
    display: none;
    background: white;
    position: absolute;
    top: 80px;
    right: 10%;
    width: 180px;
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

#myLinks a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
}

#myLinks a:hover {
    background: #0a9396;
    color: #fff;
}

#myLinks a.active {
    background-color: #0a9396;
    color: #fff;
    font-weight: 600;
}

.content {
    margin-top: 0;
    max-width: 600px;
    color: #1a1a1a;
    text-align: left;
    position: static;

}

.content h1 {
    font-size: clamp(20px, 4vw, 25px);
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1.3;
}

.content p {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: clamp(15px, 2.5vw, 17px);
    font-weight: 500;
    line-height: 1.7;
    background-color: transparent;
    text-align: left;
}

.btn {
    display: inline-block;
    padding: 11px 24px;
    background-color: #0a9396;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 20px;
    font-weight: 700;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
}

.btn:hover {
    background-color: #005f73;
    transform: translateY(-1px);
}

.sekundar-knap {
    background: transparent;
    color: #0a9396;
    border: 2px solid #0a9396;
    margin-left: 1rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sekundar-knap:hover,
.sekundar-knap:focus {
    background: #e8f5f5;
    color: #005f73;
    border-color: #005f73;
}

.målgruppe {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 10%;
    text-align: left;  
    background-color: transparent;
}

.målgruppe h2 {
    font-size: clamp(22px, 5vw, 30px);
    color: #005f73;
    margin-bottom: 40px;
    font-weight: 800;
}

.målgruppe_eksempler {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    justify-items: center; 
}

.målgruppe_eksempler div {
    width: 100%;
    max-width: 320px;    
    padding: 20px;       
    font-size: 15px;
}

.målgruppe_eksempler div {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.målgruppe_eksempler div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.målgruppe_eksempler div h3 {
    font-size: 32px;
    color: #5ec776;
    margin-bottom: 10px;
    font-weight: 700;
}

.målgruppe_eksempler div p {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
    margin: 0;
    background: none;
    padding: 0;
    border-radius: 0;
}

.målgruppe > p {
    font-size: clamp(14px, 3vw, 17px);
    color: #1a1a1a;
    max-width: 100%;  
    margin: 0; 
    line-height: 1.7;
    background-color: transparent;
    padding: 0;
}

.målgruppe-cta {
    margin-top: 40px;
    text-align: left;
}

.målgruppe-cta p {
    font-size: clamp(14px, 3vw, 17px);
    color: #1a1a1a;
    max-width: 100%;  
    margin: 0 0 30px 0; 
    line-height: 1.7;
    background-color: transparent;
    padding: 0;
    font-weight: 500;
}

/* Kontakt sektion stil */
.contact-info {
    margin: 30px 0;
    line-height: 1.8;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-buttons .btn {
    margin: 0;
}

/* Animationer */
.anim {
    opacity: 0;
    transform: translateY(40px);
    animation: moveup 0.8s forwards;
}

.content h1.anim {
    animation-delay: 0s;
}

.content p.anim {
    animation-delay: 0.5s;
}

.btn.anim {
    animation-delay: 1s;
}

.featured-image.anim {
    animation-delay: 1.5s;
}

@keyframes moveup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer styling - DESKTOP GRID */
.footer {
    background-color: #1a1a1a;
    padding: 60px 10% 40px;

}

/* CSS Grid inspiration: https://www.w3schools.com/css/css_grid.asp */
.footer__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;

}

.footer__logo {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.logo-tagline {
    margin: 6px 0 0 0;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #94d2bd;
    opacity: 0.85;
}

.footer__nav-contact-row {
    display: flex;
    flex-direction: row;
    gap: 60px;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

.footer__nav,
.footer__contact {
    text-align: center;
    align-items: center;
}

.footer__nav ul {
    align-items: center;
}

.footer__copyright {
    text-align: left;
    padding-top: 30px;
    border-top: 1px solid #333;
    margin-top: 40px;
    width: 100%;
}

.footer__logo {
    grid-area: logo;
    text-align: center;
    margin-bottom: 30px;
}

.footer__logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.footer__contact {
    grid-area: contact;
    text-align: left
}

.footer__contact h3,
.footer__nav h3,
.footer__tools h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer__contact p {
    margin: 10px 0;
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer__contact a {
    color: #5ec776;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer__contact a:hover {
    color: #94d2bd;
    text-decoration: underline;
}

.footer__nav {
    grid-area: nav;
    text-align: left;
    
}

.footer__nav ul {
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 0;
}

.footer__nav ul li {
    margin: 0 0 10px 0;
}

.footer__nav ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: left;
}

.footer__nav ul li a:hover {
    color: #94d2bd;
}

.footer__copyright {
    grid-area: copyright;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.footer__copyright p {
    font-size: 13px;
    color: #777;
    margin: 0;
    letter-spacing: 0.5px;
}

.tools {
    text-align: center;
}

.tools img {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.tools h3 {
    font-size: clamp(22px, 5vw, 30px);
    color: #005f73;
    margin-bottom: 40px;
    font-weight: 800;
}

/* Cases stil */
.cases-section {
    padding: 10px 10% 80px;
}

.cases-section > p {
    margin-bottom: 80px; /* for mere luft mellem afsnit og casecards */
}

.cases-section > h1 {
        margin-top: 30px;
    margin-bottom: 12px;
}

.cases-section .content {
    padding-left: 0;
    padding-right: 0;
    max-width: none;


}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    border-top: 3px solid #0a9396;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-top-color: #5ec776;
}
.case-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    align-self: center;
    margin-bottom: 0.5rem;
}
.case-content {
    padding: 38px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
}
.case-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}
.case-content p {
    flex-grow: 1;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
    margin-top: 0;
    background-color: transparent;
}

.case-link {
    margin-top: auto;
    color: #0a9396;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.case-link:hover {
    color: #005f73;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 50px;
}

.overskrift-tekst-blok h1 {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #111111;
    margin: 0 0 16px 0;
}

/* Gradient accent tekst — bruges fx på fremhævet del af H1 */
.highlight-gradient {
    background: linear-gradient(90deg, #0a9396, #5ec776);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overskrift-tekst-blok {
    width: 100%;
}

.gif {
  height: auto;
  border-radius: 8px;
  padding: 20px; 
}

.målgruppe-sektion h2 {
    font-size: clamp(22px, 5vw, 30px);
    color: #005f73;
    font-weight: 800;
justify-self: center;
    margin-top: 40px;
}
.video-tekst-container {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.video-tekst-container > div {
  flex: 1;
}
.video-tekst-container video {
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  max-width: 400px;
  width: 100%;
  height: auto;
}
.foto-case-image {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  object-fit: cover;
}

.caseside-billede {
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    object-fit: cover;
}

/* WORD Festival – hero mockup-billede */
.wf-hero-mockup {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.14);
    object-fit: contain;
    background: transparent;
    display: block;
    margin: 0 auto;
}

/* WORD Festival – screenshots galleri under hero */
.screenshots-gallery {
    padding: 70px 10% 80px;
    background: #f8fafc;
    text-align: center;
}
.screenshots-gallery h2 {
    font-size: clamp(22px, 4vw, 28px);
    color: #005f73;
    font-weight: 800;
    margin-bottom: 10px;
}
.screenshots-gallery > p {
    font-size: clamp(14px, 2vw, 16px);
    color: #6b7280;
    margin-bottom: 48px;
    font-weight: 400;
}
.screenshots-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 860px;
    margin: 0 auto;
}
.screenshots-gallery-grid figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0;
    cursor: zoom-in;
}
.screenshots-gallery-grid img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.12);
    transition: transform 0.25s, box-shadow 0.25s;
    object-fit: contain;
    background: #fff;
}
.screenshots-gallery-grid figure:hover img {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(0,0,0,0.18);
}
.screenshots-gallery-grid figcaption {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
@media (max-width: 700px) {
    .screenshots-gallery-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 320px;
    }
    .wf-hero-mockup {
        max-width: 100%;
    }
}

.hero-content.case-hero-content.appprototype-hero-content {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

@media (max-width: 768px) {
  .hero-content.case-hero-content.appprototype-hero-content {
    flex-direction: column;
    gap: 20px;
  }
  .hero-content.case-hero-content.appprototype-hero-content .caseside-billeder-grid {
    width: 100%;
  }
  .wf-hero-mockup {
    max-width: 260px;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 900px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
  }
  .caseside-billede {
    width: 100%;
    margin: 0 auto;
  }
}

/* Målgruppe sektion */
.målgruppe {
    text-align: left;  
    padding: 20px 10%;
    background-color: #f9f9f9;
    max-width: 100%;  
}

/* CTA efter cases */
.cases-cta {
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
}

.cases-cta h2 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 15px;
    color: #1a1a1a;
}

.cases-cta p {
    font-size: clamp(16px, 2.5vw, 18px);
    color: #666;
    margin-bottom: 30px;
}

/* Målgruppe sektion på Om Mig siden */
.målgruppe-om-mig {
    background-color: transparent;
    padding: 60px 10% 0px 10%;
    text-align: center;
}

.målgruppe-om-mig h2 {
    text-align: center;
    margin-bottom: 30px;
}

.målgruppe-intro p {
    background-color: transparent;
    padding: 0px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: clamp(14px, 3vw, 16px);
}

.målgruppe-liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin-bottom: 40px;
}

.målgruppe-liste div {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.målgruppe-liste div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.målgruppe-liste div h3 {
    font-size: 32px;
    color: #5ec776;
    margin-bottom: 10px;
}

.målgruppe-liste div p {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
    margin: 0;
}

/* Scroll til top */
#top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: #0a9396;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
    cursor: pointer;
}

#top:hover {
    background: #005f73;
    transform: translateY(-3px);
}

/* ===== MEDIA QUERIES: Inspiration: https://www.w3schools.com/css/css3_mediaqueries.asp ===== */

/* ===== MOBIL (0-800px) ===== */
@media (max-width: 800px) {
    .desktop-menu {
        display: none !important;
    }

    .icon {
        display: block;
    }

    .logo {
        max-width: 120px;
    }

    .content {
        position: static;  
        width: auto;
        max-width: none;
        padding: 20px 10%;
        color: #1a1a1a; 
    }

    .hero {
        height: auto;
        padding-bottom: 40px;
    }

    .btn {
        display: inline-block;
        margin-top: 20px;
        z-index: 10;
        width: 100%;  
        text-align: center;
    }
    
    .contact-buttons {
        flex-direction: column;
        width: 100%;
    }

    .featured-image {
        position: static;
        width: 100%;
        max-width: 250px;
        margin: 30px auto 0;
        display: block;
    }

    .footer {
        padding: 40px 5% 20px;
        margin-top: 80px;
    }

    .footer__content {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    .footer__logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
    }
    .footer__logo img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .footer__nav-contact-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer__logo,
    .footer__contact,
    .footer__nav,
    .footer__tools,
    .footer__copyright {
        grid-area: unset;
        width: 100%;
        text-align: center;
    }

    .footer__logo {
        margin-bottom: 0;
    }

    .footer__logo img {
        max-width: 120px;  
    }

    .footer__contact h3,
    .footer__nav h3,
    .footer__tools h3 {
        text-align: center !important;
        margin-bottom: 10px;
        font-size: 14px;  
    }

    .footer__contact p {
        text-align: center;
        font-size: 13px;  
    }

    .footer .footer__nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .footer .footer__nav ul li {
        margin: 0 !important;
        text-align: center !important;
        width: auto !important;
    }

    .footer .footer__nav ul li a {
        display: inline-block !important; 
        text-align: center !important;
        font-size: 13px;  
    }

    .footer__copyright {
        padding-top: 15px;
        margin-top: 15px;
    }

    .footer__copyright p {
        font-size: 11px;  
    }

    .cases-section {
        padding: 40px 5%;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 0 60px;
        gap: 30px;
    }
    
    .hero-content-wrapper .featured-image {
        max-width: 250px;
        justify-self: center;
    }

    .målgruppe {
        padding: 60px 5%;
    }
    
    .målgruppe_eksempler,
    .målgruppe-liste {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== TABLET (801px - 1200px) ===== */
@media (min-width: 801px) and (max-width: 1200px) {
    .hero {
        padding: 30px 6%;
    }

    .content {
        top: 8%;
        left: 6%;
        max-width: 450px;
    }

    .content h1 {
        font-size: clamp(21px, 3.5vw, 23px);  
    }

    .content p {
        font-size: clamp(14px, 2.2vw, 15px);  
    }

    .featured-image {
        width: 300px;
        position: static;
        top: 30%; 
        right: 6%;
    }

    .footer__content {
        gap: 30px 50px;
        max-width: 900px;
    }

    .footer__logo img {
        max-width: 160px;
    }

    .footer__contact h3,
    .footer__nav h3,
    .footer__tools h3 {
        font-size: 16px;
    }

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

    .hero-content-wrapper {
        gap: 30px;
        padding: 60px 0 80px;
    }

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

/* ===== DESKTOP (1201px+) ===== */
@media (min-width: 1201px) {
    .featured-image {
        width: 450px;
        height: auto;    
        position: static;
        top: 20%; 
        right: 10%;
    }

    .hero {
        padding-bottom: 10px;
    }
}

/* ===== EKSTRA STORE SKÆRME (1600px+) ===== */
@media (min-width: 1600px) {
    .hero {
        padding: 10px 12%;
    }

    .content {
        left: 12%;
        max-width: 700px;
    }

    .content h1 {
        font-size: 28px;
    }

    .content p {
        font-size: 18px;
    }

    .featured-image {
        width: 550px;
        right: 12%;
        top: 22%;  
    }

    .footer__content {
        max-width: 1400px;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 30px 0;
    background-color: rgba(249, 249, 249, 0.5); /* 50% gennemsigtig */
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumbs li a {
    color: #007e8d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs li a:hover {
    color: #ff543a;
    text-decoration: underline;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: #999;
    font-size: 16px;
}

.breadcrumbs li:last-child {
    color: #1a1a1a;
    font-weight: 600;
}

@media (max-width: 800px) {
    .breadcrumbs {
        padding: 12px 0;
    }
    
    .breadcrumbs li {
        font-size: 13px;
    }
}

/* Vertikal alignment for overskrift + brødtekst */
.overskrift-tekst-blok {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: center;
    gap: 10px;
    height: 100%;

}

.kontakt-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 60px 0 60px 0;
   
}

.kontakt-cta p {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 700;
    margin-bottom: 24px;
    color: #005f73;
    background: none;
    padding: 0;
}

.kontakt-cta .btn {
    margin: 0;
    font-size: 18px;
    padding: 14px 36px;
}

.overskrift-tekst-blok .btn {
    align-self: flex-start;
}

@media (max-width: 800px) {
    .målgruppe-liste {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


@media (max-width: 900px) {
  .video-tekst-container {
    flex-direction: column;
    gap: 20px;
  }
  .foto-om-mig-image {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ── Kontakt-side: hero blok ── */
.kontakt-hero-blok {
    max-width: 680px;
    padding-top: 60px;
}

/* ── Kontakt info sektion ── */
.kontakt-info-sektion {
    padding: 80px 10%;
    background: #fff;
    text-align: center;
}

.kontakt-kort-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 860px;
    margin: 0 auto 40px;
}

.kontakt-kort {
    background: #fafafa;
    border: 1.5px solid #e0f0f1;
    border-radius: 16px;
    padding: 40px 28px;
    text-decoration: none;
    color: #111;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.kontakt-kort:hover {
    box-shadow: 0 8px 32px rgba(10, 147, 150, 0.12);
    border-color: #0a9396;
    transform: translateY(-4px);
}

.kontakt-kort-ikon {
    display: block;
    font-size: 2rem;
    margin-bottom: 14px;
    color: #0a9396;
}

.kontakt-kort h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #005f73;
    margin: 0 0 8px;
}

.kontakt-kort p {
    font-size: 0.95rem;
    color: #444;
    margin: 0;
    word-break: break-word;
}

.kontakt-tilgaengelig {
    text-align: center;
    color: #6b7280;
    font-size: 1rem;
    font-style: italic;
    margin: 0;
}

@media (max-width: 700px) {
    .kontakt-kort-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .kontakt-info-sektion {
        padding: 60px 6vw;
    }
}