/* __________________*/
/*  BASELINE = MOBIL */
/* __________________*/

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Teacher&display=swap');

body {
  margin: 0;
  background-color: #fafafa;
  font-family: 'Teacher', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #423838;
  margin-bottom: 0rem;
}

p {
  max-width: 720px;
  margin-top: 0;
  margin-bottom: 0.5rem; 
}

/* OVERSKRIFTER */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #423838;
}

h1 { font-size: 1.8rem; 
margin-bottom: 0.25rem; }

h2 { font-size: 1.4rem;
margin-bottom: 0.25rem; } 
h3 { font-size: 1rem;
margin-bottom: 0.25rem; } 


/* HEADER */
header {
  background-color: #fafafa;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* CONTAINER DER STYRER BASELINE */
.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
}

/* LOGO */
.logo {
  width: 180px;
  margin: 15px auto;
  display: block;
}

/* MENU / NAVIGATION */
.menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  margin: 15px 0;
  padding: 0;
  align-items: center;
}

.menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: #423838;
  text-decoration: none;
}

.menu a:hover,
.menu a.active {
  font-weight: bolder;
}


/* KNAPPER / BOTTONS */
.btn,
button,
.learn-more-btn {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #423838;
  background-color: #EBE3DE;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.btn:hover,
button:hover,
.learn-more-btn:hover {
  background-color: #D8CBBF;
}

.hero-btn,
form button,
.kontakt-knap a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #423838;
  background-color: #D8CBBF;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.hero-btn:hover,
form button:hover,
.kontakt-knap a:hover {
  background-color: #EBE3DE;
}


/* HERO BILLEDE */
.hero {
  position: relative;
  height: 75vh;
  background: url("billeder/headerbilleder/headergrafiklayout.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #423838;
  max-width: 700px;
}

.hero-btn {
  padding: 12px 30px;
  font-size: 1rem;
}

/* TEKSTBLOKKE */
.tekstblok {
  display: flex;
  flex-direction: column;      /* elementer står under hinanden */
  align-items: flex-start;     /* venstrestiller alt indhold */
  width: 100%;
  box-sizing: border-box;
  padding: 0 40px;
}

.om-mig-section .tekstblok-om-mig {
  width: 100%;
  text-align: left;
}

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

.tekstblok.right {
  text-align: right;
}

.tekstblok ul {
  list-style-type: none;      /* fjerner bullets / punkter */
  padding-left: 0;            /* fjerner indrykning */
}

.branding-section .tekstblok-branding {
  width: 100%;
  text-align: left;
}

/* OM MIG */
.om-mig-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  padding: 0 40px;
  box-sizing: border-box;
}

.om-mig-section img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  margin: 30px auto 0;
}

.kontakt-knap a {
  display: inline-block;
  width: 140px;                             /* samme bredde som learn-more */
  font-size: 14px;                          /* samme fontstørrelse */
  padding: 6px 0;                           /* samme højde */
  background-color: #D8CBBF;
  color: #423838;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 5px;                          /* lidt luft fra teksten */
  text-align: center;                       /* centrerer teksten i knappen */
  transition: background-color 0.3s ease;
}

.kontakt-knap a:hover {
  background-color: #EBE3DE;
}

/* BILLEDRÆKKE - FORSIDE OG KOMPETENCER */
.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 30px 30px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.image-container {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
  position: relative;
  box-sizing: border-box;
}

.image-container img {
  width: 100%;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  bottom: 10px;
  left: 5%;
  font-size: 18px;
  color: #fafafa;
  padding: 4px 8px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.learn-more-btn {
  position: static;
  display: block;
  width: 100%;            /* samme bredde som billedet/containeren */
  margin-top: 10px;       /* lidt luft under billedet */
  text-align: center;
  font-size: 14px;
  padding: 8px 0;
  box-sizing: border-box;
}

/* BILLEDRÆKKE 2 - SMÅ IKONER PÅ KOMPETENCESIDE */
.image-row2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  padding-top: 0px;
  padding: 0 40px 30px;
  box-sizing: border-box;
}

.image-container2 {
  flex: 0 0 50px;
  max-width: 50px;
  height: 50px;
}

.image-container2 img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* BILLEDRÆKKE 3 - CONTENT OG PRODUKTBILLEDER */
.image-row3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 30px 30px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.image-container3 {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
  position: relative;
  box-sizing: border-box;
}

.image-container3 img {
  width: 100%;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
}


/* LAYOUT TIL KOMPETENCER - COPYWRITING OG BRANDING */
.kompetence-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 30px 30px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.kompetence-container {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
  position: relative;
  box-sizing: border-box;
}

.kompetence-container img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #EBE3DE;
  height: auto;
  object-fit: cover;
}

.kompetence-tekstblok {
  flex: 0 0 100%;
  max-width: 100%;
  text-align: left;
  padding-left: 20px;
}


/* LAYOUT TIL KOMPETENCER - BRANDING, STORYTELLING OG VISUEL KOMMUNIKATION */
.branding-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  padding: 0 40px;
  box-sizing: border-box;
}

.branding-section img {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  border: 1px solid #EBE3DE;
  margin: 30px auto 0;
}

.branding-section .tekstblok-branding {
  width: 100%;
  max-width: 700px;
  text-align: left;
}

/* RÆKKE MED VIDEOER TIL CONTENT */
.video-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 30px 30px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.video-container {
  flex: 0 0 calc(50% - 15px);   /* 2 kolonner */
  max-width: calc(50% - 15px);
  position: relative;
  box-sizing: border-box;
}

.video-container video {
  width: 100%;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
}


/* KONTAKTFORMULAR / FORM */
form {
  padding: 15px 40px;
  margin: 20px 0;
  max-width: 600px;
  width: 100%;
  background-color: #fafafa;
  border-radius: 10px;
  box-sizing: border-box;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #423838;
  border-radius: 6px;
  font-family: 'Teacher', sans-serif;
  box-sizing: border-box;
}

form button {
  width: 100%;
  font-size: 15px;
  padding: 12px;
  font-family: 'Cormorant Garamond', serif;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

/* FOOTER */
footer {
  background-color: #ebe3de;
  color: #423838;
  padding: 30px 40px;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

footer a {
  text-decoration: none;
  color: #423838;
}

footer a:hover {
  font-weight: bolder;
}



/* ____________________ */
/*  TABLET - MIN 751PX  */
/* ____________________ */

@media (min-width: 751px) {

/* HEADER */
.header-container {
    flex-direction: row;              /* logo og menu ved siden af hinanden */
    justify-content: space-between;   /* logo til venstre, menu til højre */
    align-items: center;              /* vertikal centrering */
    padding: 20px 50px 20px 30px;     /* ens indryk som tekstblokke */
}

/* LOGO */  
.logo {
    width: 220px;
    margin: 0;
}

/* MENU / NAVIGATION */
.menu {
    flex-direction: row;              /* menu links på række */
    gap: 40px;                        /* afstand mellem links */
    margin: 0;                        /* fjern margin under menu */
    align-items: center;
}

.menu a {
    font-size: 14px;
}

/* TEKSTBLOKKE */
.tekstblok {
    padding: 0 50px;
    text-align: left;
    box-sizing: border-box;
}

/* OM MIG */
.om-mig-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 50px;                 /* samme indryk som tekstblokke */
    box-sizing: border-box;
}

.om-mig-section .text {
    flex: 1;
    text-align: left;
}

/* BILLEDRÆKKE - FORSIDE OG KOMPETENCER */
.image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 25px 40px;              /* matcher tekstblokke */
    box-sizing: border-box;
}

.image-container {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    position: relative;
    box-sizing: border-box;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.overlay-text {
    font-size: 16px;
}

.learn-more-btn {
    position: absolute;      /* overlay effekt */
    bottom: 25px;
    left: 25px;
    width: 150px;
    font-size: 15px;
    padding: 7px 0;
    margin-top: 0;
    display: inline-block;
}

/* BILLEDRÆKKE 2 - SMÅ IKONER PÅ KOMPETENCESIDE */
.image-row2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
    padding: 20px 50px;
    box-sizing: border-box;
}

.image-container2 {
    flex: 0 0 60px;
    max-width: 60px;
    height: 60px; 
}

.image-container2 img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* BILLEDRÆKKE 3 - CONTENT OG PRODUKTBILLEDER */
.image-row3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 25px 40px;              /* matcher tekstblokke */
    box-sizing: border-box;
}

.image-container3 {
  flex: 0 0 calc(50% - 20px);
  max-width: calc(50% - 20px);
  position: relative;
  box-sizing: border-box;
}

.image-container3 img {
  width: 100%;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
}


/* LAYOUT TIL KOMPETENCER - COPYWRITING OG BRANDING */
.kompetence-row {
    gap: 20px;
    padding: 25px 40px;
}

.kompetence-container {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
}

.kompetence-tekstblok {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left;
    padding-left: 20px;
}


/* LAYOUT TIL KOMPETENCER - BRANDING, STORYTELLING OG VISUEL KOMMUNIKATION */
.branding-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 50px;                     /* samme indryk som tekstblokke */
    margin: 0 auto 40px;
    box-sizing: border-box;
    max-width: 100%;
}

.branding-section img {
    flex: 0 0 100%;                      /* billedet fylder hele bredden */
    max-width: 100%;
    margin-top: 30px;
    border-radius: 10px;
}

.branding-section .tekstblok-branding {
    flex: 0 0 100%;                      /* teksten fylder hele bredden */
    max-width: 100%;
    text-align: left;
}


/* RÆKKE MED VIDEOER TIL CONTENT */
.video-row {
    padding: 25px 40px;      /* fastholder luft på tablet */
    gap: 20px;
  }
.video-container {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }


/* KONTAKTFORMULAR / FORM */
form {
    padding: 15px 50px;
    margin: 20px 0;
    max-width: 600px;
    background-color: #fafafa;
    border-radius: 10px;
    box-sizing: border-box;
}

/* FOOTER */

footer {
    padding: 30px 50px;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: stretch;
}

.footer-section {
    flex: 1 1 0;
    min-width: 200px;
    max-width: 300px;              /* begrænser hvor brede de må blive */
}
}




/* _______________________*/
/*  DESKTOP - MIN 1025PX  */
/* _______________________*/

@media (min-width: 1025px) {

/* HEADER */
.header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 95px 20px 70px;
  }

/* LOGO */
.logo {
    width: 220px;
    margin: 0;                 /* fjern padding - container styrer luft */
  }

/* MENU / NAVIGATION */
.menu {
    flex-direction: row;
    gap: 55px;                 /* større afstand mellem links */
    margin: 0;                 /* fjern padding – container styrer luft */
    align-items: center;
  }

.menu a {
    font-size: 16px;
  }


/* TEKSTBLOKKE */
.tekstblok {
    padding: 0 95px;            /* fast indryk */
    text-align: left;
    box-sizing: border-box;
  }


/* OM MIG */
.om-mig-section {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    padding: 0 95px;
    margin: 0 auto 40px;
    box-sizing: border-box;
  }

.om-mig-section .text {
    flex: 1;
    text-align: left;
  }

/* BILLEDRÆKKE - FORSIDE OG KOMPETENCER */
.image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px 80px;
    box-sizing: border-box;
  }

.image-container {
    flex: 0 0 calc(33.33% - 30px);       /* fast 3 kolonner */
    max-width: calc(33.33% - 30px);
    position: relative;
    box-sizing: border-box;
  }

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

.overlay-text {
    font-size: 22px;
  }

.learn-more-btn {
    bottom: 30px;
    left: 30px;
    width: 170px;
    font-size: 16px;
    padding: 8px 0;
  }

/* BILLEDRÆKKE 2 - SMÅ IKONER PÅ KOMPETENCESIDE */
.image-row2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
    padding: 10px 95px 30px;
    box-sizing: border-box;
  }

.image-container2 {
    flex: 0 0 60px;
    max-width: 60px;
    height: 60px;
  }

.image-container2 img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
  }

/* BILLEDRÆKKE 3 - CONTENT OG PRODUKTBILLEDER */
.image-row3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px 80px;              /* matcher tekstblokke */
    box-sizing: border-box;
  }

.image-container3 {
    flex: 0 0 calc(25% - 30px);      /* 4 faste kolonner */
    max-width: calc(25% - 30px);
    position: relative;
    box-sizing: border-box;
  }

.image-container3 img {
    width: 100%;
    border-radius: 10px;
    height: auto;
    object-fit: cover;
  }


/* LAYOUT TIL KOMPETENCER - COPYWRITING OG BRANDING */
.kompetence-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px 80px;
    box-sizing: border-box;
  }

.kompetence-container {
    flex: 0 0 calc(25% - 30px);     /* 2 billeder = samme bredde som 4 kolonner */
    max-width: calc(25% - 30px);
    box-sizing: border-box;
  }

.kompetence-tekstblok {
    flex: 0 0 calc(50% - 30px);     /* tekst fylder halvdelen */
    max-width: calc(50% - 30px);
    text-align: left;
    align-self: center;             /* centrerer vertikalt med billederne */
    box-sizing: border-box;
  }

/* LAYOUT TIL KOMPETENCER - BRANDING, STORYTELLING OG VISUEL KOMMUNIKATION */
.branding-section {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;           /* centrerer lodret i forhold til hinanden */
    gap: 50px;
    padding: 0 95px;
    margin: 0 auto 40px;           /* centrerer hele sektionen på siden */
    box-sizing: border-box;
    max-width: 100%;
  }

.branding-section img {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
    margin-top: 30px;
    border-radius: 10px;
  }

.branding-section .tekstblok-branding {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left;
  }

/* RÆKKE MED VIDEOER TIL CONTENT */
.video-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 30px 80px;           /* matcher tekstblokke */
  box-sizing: border-box;
}

.video-container {
  flex: 0 0 calc(25% - 30px);   /* 4 faste kolonner */
  max-width: calc(25% - 30px);
  position: relative;
  box-sizing: border-box;
}

.video-container video {
  width: 100%;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
}



/* KONTAKTFORMULAR / FORM */
form {
    padding: 15px 0 50px 95px;
    margin: 20px 0;
    max-width: 600px;
    background-color: #fafafa;
    border-radius: 10px;
    box-sizing: border-box;
}

/* FOOTER */
footer {
    padding: 30px 95px;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    flex-direction: row;   /* sektioner ved siden af hinanden */
    gap: 10px;             /* ens afstand mellem sektioner */
    align-items: stretch;
  }

.footer-section {
  flex: 1 1 0;
  min-width: 200px;
  max-width: 300px;        /* begrænser hvor brede de må blive */
}


}

