/* ========== Globales Setup ========== */
@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:wght@100;200;300;400;700;800;900&display=swap');

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

html, body {
  height: 100%;
  font-family: 'Sofia Sans', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: #59A7D1;
}

a.footer-button {
  color: white !important;
}

a.footer-button:hover {
  color: black !important;
}


/* ========== Navigation ========== */
nav {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: transparent;
  padding: 10px 20px;
  border-radius: 0;
  border-bottom: 1px solid white;
  width: 100%;
  text-align: right;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
  font-size: 16px;
}

nav a:hover {
  text-decoration: underline;
}


/* ========== Header & Logo ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: -1;
}

.header img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.logo-container {
  position: absolute;
  top: clamp(19vh, 8vw, 15vh);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 2;
  pointer-events: none;
}

.logo-container img {
  width: 370px;
  height: auto;
  max-width: 90vw;
  object-fit: contain;
}


/* ========== Schriftschnitte ========== */
.headline {
  font-size: 1.9rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.subline {
  font-size: 1.3rem;
  margin-top: 10px;
  font-weight: 400;
}

.subsubline {
  font-size: 0.8rem;
  margin-top: 10px;
  font-weight: 300;
}

.smallhead {
  font-size: 1.0rem;
  margin-top: 10px;
  font-weight: 600;
}

.caption {
  margin-top: 10px;
  font-weight: 200;
  font-size: 1.1rem;
  line-height: 1.4;
}

.captionhead {
  margin-top: 10px;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
}

.highlight-text {
  font-weight: bold;
  font-size: 1.2em;
}

.impressum {
  margin-top: 10px;
  font-weight: 200;
  font-size: 0.8rem;
  line-height: 1.4;
}

.caption hr {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin-bottom: 5px;
}

.caption p {
  font-size: 0.9rem;
  color: #333;
  margin: 0;
}


/* ========== Spacer ========== */
.spacer {
  height: clamp(320px, 20vw, 260px);
}

/* ========== Content & Sections ========== */
.content {
  position: relative;
  z-index: 1;
}

.content a {
  color: #000000;         /* Schwarz für Links im Content */
  text-decoration: none;
}

.content a:visited {
  color: #000000;        /* Dunkelgrau für besuchte Links im Content */
}



.content a:hover {
  text-decoration: underline;
}

section {
  padding: 20px 20px;
  text-align: left;
  min-height: 60vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(3px);
}

section.image-section {
  background-image: url("images/BG_sky.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

section:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.95);
}

section:nth-of-type(even) {
  background-color: rgba(226, 226, 226, 0.95);
}

.content-wrapper {
  width: clamp(400px, 90vw, 800px);
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}


/* ========== Flex Grid ========== */
.flex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.flex-grid-item {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.flex-grid-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 420px) {
  .flex-grid {
    flex-direction: column;
  }

  .flex-grid-item {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.flex-grid-section {
  background-color: #f5f5f5;
  padding: 80px 20px;
}


/* ========== Zoom-Bild mit Overlay-Text ========== */
.zoom-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px auto;
  overflow: hidden;
}

.zoom-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
  transform-origin: center center;
  display: block;
}

.zoom-image:hover {
  transform: scale(1.1);
}

.overlay-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  padding: 10px 15px;
  max-width: 70%;
  font-size: 8px;
  border-radius: 8px;
  pointer-events: none;
  background-color: transparent;
}


/* ========== Foto-Grid (letzte Section) ========== */
.photo-grid-section {
  background: #f4f4f4;
  padding: 80px 20px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.grid-item:hover img {
  transform: scale(1.2);
}

.image-caption-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}


/* ========== Foto-Grid Portraits ========== */
.image-block {
  max-width: 225px;
  width: 100%;
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
}


/* ========== Footer ========== */
footer {
  color: #000;
  background-color: transparent;
  backdrop-filter: blur(3px);
  padding: 20px 0;
  text-align: left;
}

footer a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

.custom-footer {
  background: #fff;
  color: black;
  padding: 60px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.footer-image img {
  width: 75%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.footer-contact {
  max-width: 400px;
}

.footer-contact p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

.footer-contact a {
  color: #00ccff;
  text-decoration: none;
  font-weight: bold;
}


.footer-button {
  display: inline-block;
  background-color: black;
  color: white; /* Textfarbe weiß */
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}



.footer-button:hover {
  background-color: white;
  color: black;
  border: 1px solid black;
}


