/* Entwickelt durch Reclame GmbH & Co KG */
/* Basis */
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --clr-rot: #e30613;
  --clr-blau: #1c2a37;
}

html {
  /* overflow: -moz-scrollbars-vertical;
  overflow-y: scroll;
  scroll-behavior: smooth; */
  /* scroll-padding-top: 10vh; */
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans,
    Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  background-color: var(--clr-blau);
  color: #fff;
  font-size: 1.85em;
  font-weight: 300;
  scroll-behavior: smooth;
  scroll-padding-top: 15vh;
}

html,
body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--clr-rot);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  /* font-size: 1rem; */
}

article {
  padding: 1em 0;
}

ul {
  list-style-type: none;
}

strong {
  font-weight: 700;
}

p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.small {
  font-size: 0.75em;
}

.card,
.personal__image {
  -webkit-box-shadow: 0px 10px 35px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 10px 35px 5px rgba(0, 0, 0, 0.5);
}

:target {
  /* scroll-margin-top: 10vh; */
}

.container {
  margin: 0 0.5em;
}

/* Header & Navbar */
/* Navbar */
#mainnav {
  /* padding: 1em 0; */
  padding-top: 0.5em;
  /* background-color: #fff; */
  /* -webkit-backdrop-filter: blur(5px) saturate(80%);
  backdrop-filter: blur(5px) saturate(80%); */
  position: fixed;
  width: 100%;
  z-index: 9999;
}

/*
#mainnav::after {
  opacity: 1;
  content: '';
  position: fixed;
  z-index: -1;
  height: 6.5em;
  width: 100%;
  top: 0;
  background: rgb(0, 0, 0);
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
} */
#logo {
  width: 75px;
  height: 75px;
}

.btn {
  background-color: var(--clr-rot);
  color: #fff;
  padding: 1em;
  display: inline-block;
  width: 100%;
  text-align: center;
  transition: transform 200ms ease-out;
}

.btn:hover {
  transform: scale(1.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.hamburger__wrapper {
  cursor: pointer;
  transition: all 0.25s ease-out;
}

.bar {
  display: block;
  width: 45px;
  height: 5px;
  margin: 8px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
  transition: all 0.25s ease-out;
}

.nav-overlay {
  display: none;
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 9998;
  left: 0;
  top: 0;
  background-color: var(--clr-blau);
  /* background-color: rgba(var(--theme-primary-rgb), 0.9); */
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.nav-overlay .closebtn {
  position: absolute;
  top: 0.2em;
  right: 0.3em;
  font-size: 60px;
  color: #fff;
}

.overlay-content {
  margin-top: 3em;
  padding: 1em;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
}

.overlay-content a {
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25em 0;
  text-align: center;
}

.nav-overlay .closebtn {
  position: absolute;
  top: 0.2em;
  right: 0.3em;
  font-size: 60px;
  color: #fff;
}

.nav-menu {
  display: none;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  text-transform: lowercase;
}

.nav-item {
  margin-left: 1em;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-item::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1.5px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-item:hover::before {
  transform: scaleX(1);
}

.nav-item-active {
  color: #fff;
}

.nav-item-active::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1.5px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transform: scaleX(1);
}

.nav-link {
  font-size: 1.375rem;
}

.nav-item:hover {
  color: #fff;
}

.hamburger__notruf {
  cursor: pointer;
  padding-top: 0.25em;
}

.hamburger__wrapper.close .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger__wrapper.close .bar:nth-child(2) {
  opacity: 0;
}

.hamburger__wrapper.close .bar:nth-child(3) {
  transform: rotate(-45deg) translate(13px, -13px);
}

/* Content */
.hero-content {
  background-color: var(--clr-rot);
  background-image: url("../img/flames_divider.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: auto;
  margin: -1px -1px;
}

.hero-content__headline {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  height: 50vh;
  flex-direction: column;
  justify-content: center;
  /* font-size: 1.25em; */
  word-wrap: break-word;
}

.hero-content__headline h1 {
  font-size: 1.75em;
}

.site-content {
  margin-top: -1px;
  background-color: var(--clr-blau);
  background-image: url("../img/flames_divider_rot.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: auto;
  padding-top: 2em;
  padding-bottom: 4em;
  margin: -1px -1px;
}

.site-content a {
  font-weight: 600;
  position: relative;
}

.text__link::after {
  content: "\276F";
  margin-left: 0.25em;
}

.site-content__textblock .headline {
  padding-bottom: 0.75rem;
}

.site-content__textblock .text {
  padding-bottom: 0.75rem;
}

.site-content__card-menu {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.card {
  background-color: #fff;
  height: 20em;
  border-radius: 10px;
  padding: 0.5em;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.card::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0) 25%
  );
}

.card__body {
  height: 100%;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
}

.card__body > * {
  margin-top: auto;
  z-index: 100;
  color: #fff;
  font-weight: 600;
}

.site-content__personal {
  margin-top: 2em;
}

.personal {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
}

.personal:not(:last-of-type) {
  margin-bottom: 2em;
}

.personal__image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.75em;
}

.personal__name {
  margin-bottom: 0.5em;
}

.personal__info strong {
  font-weight: 700;
}

.personal__info:last-of-type {
  margin-bottom: 1em;
}

.contact__phone,
.contact__mail {
  font-size: 0.75em;
}

.contact__phone::before {
  content: url(../img/phone_icon.svg);
  display: inline-block;
  width: 0.75em;
  margin-right: 0.35em;
}

.contact__mail::before {
  content: url(../img/mail_icon.svg);
  display: inline-block;
  width: 0.75em;
  margin-right: 0.35em;
}

.terminliste {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.terminliste__termin {
  background-color: #283c4f;
  padding: 1em;
}

.termin__body {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.termin__body .wochentag {
  font-size: 2em;
  font-weight: 700;
  color: var(--clr-rot);
  display: none;
}

.termin__body .datum {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.datum__datum {
  font-size: 1.25em;
  font-weight: 600;
  color: var(--clr-rot);
}

.termin__body .info {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.info__title {
  font-size: 1.25em;
  font-weight: 700;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.terminliste {
  margin: 1em 0;
}

.dienstplan .info__title p {
  /* overflow-wrap: anywhere; */
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* Footer */
footer {
  margin-top: -1px;
  background-color: var(--clr-rot);
  padding: 2em 0;
}

footer a {
  color: #fff;
}

.social-links {
  padding-bottom: 1em;
}

.social-links h3 {
  text-align: center;
  padding-bottom: 0.5rem;
}

.social-links p {
  text-align: center;
  font-size: 0.85em;
  padding-bottom: 0.75rem;
}

.social-links__icons {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  gap: 1em;
  width: max-content;
  margin: 0 auto;
  align-items: center;
}

.social-links__icons img {
  width: 1.5em;
}

.footer-bar {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  font-size: 0.65em;
  text-align: center;
}

.copyright {
  padding-bottom: 1em;
}

.copyright span {
  display: block;
}

.reclame {
  opacity: 0.5;
}

.footer-bar__menu {
  padding-top: 0.5em;
}

.footer-bar__menu ul > li {
  display: inline-block;
}

.footer-bar__menu ul > li:not(:last-child) {
  padding-right: 0.75em;
}

/* .footer-bar__menu {
  display: flex;
  flex-direction: row;
} */
.inline_link {
  text-decoration: underline;
  font-weight: 300 !important;
  color: #fff;
}

.textblock__linklist > li {
  padding-bottom: 0.5em;
}

.textblock__linklist > li::before {
  content: url(../img/link-arrows.svg);
  display: inline-block;
  width: 0.75em;
  margin-right: 0.35em;
}

.bc_override {
  background-color: #404040;
  width: 100%;
  height: 100vh;
}

.tide {
  max-width: 1250px;
  text-align: center;
  font-family: Roboto, Helvetica Neue, sans-serif;
  background-color: #404040;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  padding: 0.5em;
  padding-top: 1.5em;
  /* border: 1px solid black; */
}

.tide > *:not(:last-child) {
  /* border-bottom: 1px solid black; */
}

.tide > * {
}

#boatLaunchInfo {
  font-size: 62px;
  font-weight: bold;
  grid-area: 2 / 1 / 3 / 3;
  padding: 0.5em 0.5em 0.5em 0.5em;
}

#previousTide {
  grid-area: 1 / 1 / 2 / 2;
  padding: 0.5em 0 0 0;
  font-size: 0.85em;
  font-weight: bold;
}

#nextTide {
  grid-area: 1 / 2 / 2 / 3;
  padding: 0.5em 0 0 0;
  font-size: 0.85em;
  font-weight: bold;
}

#previousTide,
#nextTide,
#boatLaunchInfo {
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .container {
    margin: 0 1em;
  }

  .hero-content__headline {
    height: 65vh;
  }

  .hero-content__headline h1 {
    font-size: 3em;
  }

  .site-content__card-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5em;
  }

  .card {
    /* flex: 50% */
  }

  .personal {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-direction: row;
    gap: 0.5em;
  }

  .personal .bild {
    flex: 50%;
  }

  .personal .kontaktdaten {
    flex: 50%;
  }

  .contact__phone,
  .contact__mail {
    font-size: 0.9em;
  }

  h2 {
    font-size: 2em;
  }

  .termin__body .datum {
    flex-direction: row;
    gap: 0.5em;
  }

  .termin__body .info {
    flex-direction: row;
    gap: 0.5em;
  }

  .dienstplan .termin__body .info {
    flex-direction: column;
    gap: 0;
  }

  .termin__body .wochentag {
    /* display: block; */
  }
}

@media (min-width: 992px) {
  .container {
    margin: 0 1.5em;
  }

  .hero-content__headline {
    height: 70vh;
  }

  p,
  .text__link {
    font-size: 1.5em;
  }

  #logo {
    width: 100px;
    height: 100px;
  }

  .bar {
    width: 67.5px;
    height: 7.5px;
    margin: 12px auto;
  }

  .hamburger__wrapper.close .bar:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
  }

  .hamburger__wrapper.close .bar:nth-child(3) {
    transform: rotate(-45deg) translate(18px, -18px);
  }

  .termin__body {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-direction: row;
    gap: 1em;
    justify-content: flex-start;
  }

  .termin__body .datum {
    flex-direction: column;
    gap: 0;
    justify-content: center;
  }

  .termin__body .info {
    flex-direction: column;
    gap: 0;
  }

  .termin__body .wochentag {
    width: 2em;
  }

  .termin__body .datum {
    width: 8em;
  }

  .termin__body .anmelden {
    margin-left: auto;
    align-self: center;
  }
}

@media (min-width: 1200px) {
  .container {
    margin: 0 2em;
  }

  .hero-content__headline {
    height: 85vh;
  }

  .hero-content__headline h1 {
    font-size: 4em;
  }

  #logo {
    width: 125px;
    height: 125px;
  }

  h2 {
    font-size: 2.5em;
  }

  .personal {
    gap: 2em;
  }

  .personal .bild {
    flex: 40%;
  }

  .personal .kontaktdaten {
    flex: 60%;
  }

  .kontaktdaten p {
    font-size: 1.35em;
  }

  .site-content__card-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    margin: 2em 0;
  }

  .site-content {
    padding-bottom: 8em;
  }

  .footer-bar {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 0.65em;
    text-align: center;
  }

  .copyright span {
    display: inline-block;
  }

  .footer-bar__menu {
    padding-top: 0;
  }

  footer {
    padding-bottom: 1em;
  }

  .overlay-content a {
    font-size: 2em;
  }

  .termin__body {
    gap: 2em;
  }
}

@media (min-width: 1500px) {
  .container {
    margin: 0 5em;
  }

  .site-content {
    padding-bottom: 10em;
  }

  .site-content__textblock .text {
    max-width: 50ch;
  }

  .datenschutz .text {
    max-width: 100ch;
  }
}
