@charset "UTF-8";

/* ===== VARIABLES ===== */
:root {
  --color-white: #ffffff;
  --color-light: #f6f9fc;
  --color-black: #111111;
  --color-sea: #0077b6;     /* Blau */
  --color-sun: #ff7f11;     /* Orange */
  --color-sand: #ffe8c2;    /* Sandfarben, als Akzent */
}

/* ===== GLOBAL ===== */
html {
  -ms-scroll-snap-type: both mandatory;
  scroll-snap-type: both mandatory;
  font-size: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-black);
  background: var(--color-white);
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a, button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.7;
}

/* ===== LOGO / HERO ===== */
.logo {
  width: 100%;
  max-width: 600px;
  margin: 100px auto 40px auto;
  text-align: center;
  position: relative;
}
.logo h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-sea);
}
.logo img {
  width: 300px; /* make logo smaller */
  max-width: 80%; /* keeps it responsive */
  margin: 0 auto;
}


/* ===== TOPBAR / NAVBAR ===== */
.topbar {
  background-color: var(--color-sea);
  width: 100%;
  height: 70px; /* dicker Balken */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

.navbar .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  background: var(--color-sea);
  backdrop-filter: blur(5px);
  border-top: 6px solid var(--color-sea); /* neuer dicker blauer Rahmen */
}
.navlogo {
  height: 15px;
  width: auto;
  margin-right: 7px;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-inner {
  display: flex;
  gap: 2rem;
}

.navlogo {
  height: 35px;
  width: auto;
}


.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-sea);
  text-transform: uppercase;
}

.menu {
  max-width: 100%;
}
.navbar .menu-inner {
  display: flex;
  gap: 2rem;
}
.navbar .menu a {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-black);
  transition: color 0.3s ease;
}
.navbar .menu a:hover {
  color: var(--color-sun);
}


/* ===== BURGER MENU (MOBILE) ===== */
.navbar .burger {
  display: none;
  cursor: pointer;
  width: 2rem;
  height: 1.5rem;
  position: relative;
  background: none;
}
.navbar .burger-line {
  position: absolute;
  width: 100%;
  height: 3px;
  left: 0;
  background: var(--color-black);
  transition: 0.3s ease;
}
.navbar .burger-line:nth-child(1) { top: 0; }
.navbar .burger-line:nth-child(2) { top: 0.5rem; }
.navbar .burger-line:nth-child(3) { top: 1rem; }
.navbar .burger.is-active .burger-line:nth-child(1) {
  transform: rotate(45deg);
  top: 0.5rem;
}
.navbar .burger.is-active .burger-line:nth-child(2) {
  opacity: 0;
}
.navbar .burger.is-active .burger-line:nth-child(3) {
  transform: rotate(-45deg);
  top: 0.5rem;
}

/* ===== SECTIONS ===== */
section {
  min-height: 100vh;
  padding: 100px 20px 60px 20px;
  text-align: center;
  scroll-snap-align: start;
}
section h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: var(--color-sun);
}
section p {
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SLIDER ===== */
.slide-window {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slides {
  display: flex;
  transition: transform 0.6s ease;
}
.slide {
  min-width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
}
.slide.alive {
  visibility: visible;
}
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--color-white);
  cursor: pointer;
}
.left { left: 10px; }
.right { right: 10px; }

/* ===== BUTTONS ===== */
.contactbutton a {
  display: inline-block;
  background: var(--color-sun);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 8px;
  margin: 10px;
  font-weight: 600;
}
.contactbutton a:hover {
  background: var(--color-sea);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar .menu-inner {
    flex-direction: column;
    gap: 1rem;
    background: var(--color-sea);
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 20px;
    display: none;
  }
  .navbar .menu.is-active .menu-inner {
    display: flex;
  }
  .navbar .burger {
    display: block;
  }
}
