/* style script */
/*     cta      */

  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  :root {
    --bg: #e9e9e9;
    --bgdark: black;
    --bgview: #eee;
    --panel: #111827;
    --muted: #334155;
    --text: black;
    --textlight: white; /*#e9e9e9;*/
    --buttontext: white;
    --buttonbackground: black;
    --buttonhover: #d3d3d3;
    --buttonactive: #c3c3c3;
    --accent: #22d3ee; 
    --border: #111;
    --cta: #e41e13;
  }

  body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: var(--bg);
    color: var(--text);
  }

  @keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes dropdown {
    0% {
      opacity: 0;
      transform: translateY(0);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .content-main-home,
  .content-main-imotion,
  .content-main-support,
  .content-main-team,
  .content-main-contact {
    animation: fadeUp 0.5s ease forwards;
  }

  header {
    display: flex;
    flex: 0;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    flex-wrap: wrap;
  }

  header .logo {
    width: 150px;
    margin: 0;
    border: none;
  }

  nav {
    display: flex;
    gap: 1rem;
  }

  nav a {
    display: inline-block;
    color: var(--text);
    padding: 3px;
    text-decoration: none;
    border-radius: 4px;
  }

  nav a:hover {
    background-color: var(--buttonhover);
  }

  .active {
    background-color: var(--buttonactive);
  }

  .disabled-link {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
  }

  main {
    flex: 1;
    display: flex;
    padding: 1rem;
    background-color: var(--bgdark);
    color: var(--textlight);
    background-size: cover;
    background-position: center;
    overflow-y: auto;
  }

  main.home {
    background-image: url('../images/cta-back-07.jpg');
  }

  main.team {
    background-image: url('../images/cta-back-01.jpg');
  }

  main.imotion {
    background-image: url('../images/cta-back-06.jpg');
  }

  main.diensten {
    background-image: url('../images/cta-back-03.jpg');
  }

  main.support {
    background-image: url('../images/cta-back-04.jpg');
  }

  main.contact {
    background-image: url('../images/cta-back-05.jpg');
  }

  ul {
    margin-left: 50px;
  }

  li {
    margin-bottom: 10px;
    margin-left: -30px;
  }

  .content-container {
    max-width: 1080px;
    margin: 1rem auto;
  }

  .content-container-imotion, 
  .content-container-support, 
  .content-container-team, 
  .content-container-contact {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
  }

  .content-header-home {
    margin-bottom: 1rem;
  }

  .content-header,
  .content-main-home,
  .content-main-imotion, 
  .content-main-support {
    margin-bottom: 2rem;
  }

  .content-main-home,
  .content-main-imotion, 
  .content-main-support, 
  .content-main-contact {
    align-items: center;
    opacity: 0;
    animation-delay: 0.1s;
  }

  .content-main-home {
    display: block;
  }

  .content-main-imotion {
    display: block;
  }

  .content-main-support {
    display: block;
  }

  .content-main-contact {
    display: block;
    width: 100%;
  }

  .content-main-contact .column {
    width: 100%;
    margin-bottom: 20px;
  }

  .content-main-team {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .employee img {
    width: 100%;
    height: auto;
  }

  .photo-container {
    background-color: transparent;
    width: 100%;
  }

  .iframe-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
  }

  .iframe-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  footer {
    display: flex;
    flex: 0 0 auto;
    justify-content: end;
    align-items: center;
    padding: 0.5rem;
    flex-wrap: wrap;
  }

  footer a,
  main a {
    text-decoration: underline;
    color: var(--cta);
  }

  a.tel {
    text-decoration: underline;
    color: var(--textlight);
  }

  a.tel-footer {
    text-decoration: underline;
    color: var(--text);
  }

  .footer-right {
    display: inline-block;
  }

  .mailicon {
    vertical-align: middle;
    text-decoration: none;
  }

/*  .tablet {
    display: none;
  }
*/
  .address {
    display: none;
  }

  .slogan {
    display: none;
  }

  .telfront {
    display: none;
  }

  @media (min-width: 412px) {
    header {
      padding: 0.5rem 2rem;
    }

    main {
      padding: 2rem;
    }

    .content-main-contact {
      display: flex;
      width: 100%;
      justify-content: space-between;
      align-items: start !important;
    }

    .right {
      text-align: right;
    }

    .address {
      display: inline-block;
    }

    footer {
      justify-content: space-between;
      padding: 0.5rem 2rem;
    }

/*    .tablet {
      display: inline-block;
    }

    .mobile {
      display: none;
    }
*/
  }

  @media (min-width: 768px) {

    header {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .content-header-home {
      margin-bottom: 4rem;
    }

    nav {
      flex-direction: row;
      width: auto;
    }

    .content-container,
    .content-container-imotion,
    .content-container-support,
    .content-container-team,
    .content-container-contact {
      max-width: 720px;
    }

    .content-main-home {
      flex-direction: row;
      align-items: center;
    }

    .content-main-home .column, .content-main-contact .column {
      flex: 1;
    }

    footer {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .content-main-team {
      grid-template-columns: repeat(2, 1fr);
    }
    .telfront {
      display: inline-block;
    }
  }

  @media (min-width: 1024px) {

    .content-header-home {
      margin-bottom: 6rem;
    }

    .content-container {
      max-width: 1080px;
    }

    .content-container-imotion,
    .content-container-support,
    .content-container-team,
    .content-container-contact {
      max-width: 768px;
    }

    .content-main-home {
      display: flex;
      gap: 16px;
    }

    .content-main-home .column, .content-main-home .text {
      max-width: 520px;
    }

    .content-main-team {
      grid-template-columns: 360px 360px;
      justify-content: space-between;
    }

    .photo-container {
      width: 360px;
    }

    .slogan {
      display: block;
    }
  }




  .dropdown {
    position: relative;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg);
    min-width: 160px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1;
    animation: dropdown 1s ease forwards;
  }

  .dropdown-content a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
  }

  .dropdown-content a:hover {
    background: #f1f1f1;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

