@media only screen and (max-width: 768px) {
  @font-face {
    font-family: 'imprint MT Shadow';
    src: url('static/font/imprint-mt-shadow.woff') format('woff'),
      /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
      url('static/font/imprint-mt-shadow.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
  }

  body {
    top: 0;
    margin: 0;
    padding: 0;
    font-family: "imprint MT Shadow"
  }

  main {
    margin: 0;
    padding: 0;
  }

  .container {
    margin: 0;
    display: block;
    height: 101vh;
    position: relative;
    /* allow absolutely positioned bg image and layering */
    overflow: hidden;
  }

  /* new: use an actual img that fills the container */
  .container img.bg {
    position: absolute;

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
  }

  .content {
    z-index: 1;
    height: 100%;
  }

  .content * {
    z-index: 1;
    position: relative;
  }

  .header {
    height: 25vh;
  }

  .center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  .header object {
    width: min(60vw, 350px);
    height: auto;
    display: block;
  }

  #endlich-zeit object {
    width: min(80vw, 500px);
    height: auto;
  }

  .header h1 {
    font-size: max(15vw, 4em);
  }

  .header h2 {
    font-size: max(15vw, 2.5em);
  }

  .footer {
    position: absolute;
    bottom: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    text-align: justify;
  }

  .footer p {
    font-size: min(max(2.5vh, 1em), 3em);
  }

  .side {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 62vw;
    border-radius: 0px 0 0 15px;
    padding: 10px 6px 10px 10px;
  }

  .side p {
    font-size: min(max(6vw, 1em), 2.35vh);
    margin: 0;
  }

  #termine .header {
    padding-top: 10px;
    height: 15vh;
  }

  #kontakt .header {
    padding-top: 10px;
    height: 15vh;
  }

  .content ul {
    list-style-type: none;
    padding: 0 2vw 0 2vw;
  }

  .content li {
    padding : 0.5vh 0;  
  }

  .bg-grey {
    background-color: rgba(255, 255, 255, 0.788) !important;
  }

  .label {
    position: absolute;
    text-align: center;
    font-weight: 600;
    color: rgb(90 170 185);
    text-shadow: 1px 0 #000000, -1px 0 #000000, 0 1px #000000, 0 -1px #000000,
      1px 1px #000000, -1px -1px #000000, 1px -1px #000000, -1px 1px #000000;
  }

  .gigs {
    align-items: normal;
  }


  /* .guitar {
  } */

  /* .drums {
  } */

  /* .keyboard {
  } */

  /* .bass {
  } */

  /* ============================================================
   contact-form.css — styles du formulaire de contact
   ============================================================ */

  #contact-form {
    position: absolute;
    top: 0%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 60vw;
    margin: 0 auto;
  }

  #contact-form input,
  #contact-form textarea {
    padding: 8px 10px;
    font-family: inherit;
    font-size: 0.95em;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
  }

  #contact-form input:focus,
  #contact-form textarea:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.5);
  }

  #contact-form textarea {
    resize: vertical;
    min-height: 90px;
  }

  #contact-form button {
    padding: 10px;
    font-family: inherit;
    font-size: 1em;
    border: none;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  #contact-form button:hover {
    background: #333;
  }

  #contact-form button:disabled {
    background: #888;
    cursor: not-allowed;
  }

  #contact-status {
    margin: 0;
    font-size: 0.85em;
    text-align: center;
    min-height: 1.2em;
  }

  #contact-status.success {
    color: #1a7f37;
  }

  #contact-status.error {
    color: #c0392b;
  }
}