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

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* =====================
   NAV
===================== */
header {
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0)
  );
}




.navbar {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  pointer-events: auto;   /* ✅ HIER */
}


.nav-left,
.nav-right {
  display: flex;
  gap: 28px;
}

/* Nav Links */
.navbar a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.5px;
  position: relative;
}

/* Hover underline */
.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: white;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

/* =====================
   DROPDOWN
===================== */
.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;

  background: rgba(0,0,0,0.9);
  padding: 12px 0;
  min-width: 160px;

  display: none;
  flex-direction: column;
}

.dropdown a {
  padding: 8px 20px;
  white-space: nowrap;
  font-size: 13px;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.1);
}

.nav-item:hover .dropdown {
  display: flex;
}

/* =====================
   HERO
===================== */
.hero {
  height: 80vh;
  background-image: url("img/Norwegen_1-25.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.45);
  pointer-events: none;   /* ✅ das ist der Fix */
}


.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.btn {
  padding: 10px 20px;
  border: 1px solid white;
  background: transparent;
  color: white;
  cursor: pointer;
}

/* =====================
   WORK
===================== */
.section {
  max-width: 1200px;
  margin: 80px auto;
  text-align: center;
}

.work-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.work-card {
  position: relative;
  width: 300px;
  height: 200px;      /* FIXE HÖHE */
  overflow: hidden;  /* SEHR WICHTIG */
  cursor: pointer;
  background: #000;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* DAS verhindert endloses Scrollen */
  display: block;
}

/* Overlay */
.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-overlay span {
  color: white;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.work-card:hover .work-overlay {
  opacity: 1;
}


/* =====================
   FOOTER
===================== */
footer {
  background: #111;
  color: white;
  padding: 40px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}



/* =====================
   ABOUT ME
===================== */

.about-section {
  max-width: 1200px;
  margin: 140px auto 80px;
  padding: 0 20px;
}

.about-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* Text */
.about-text {
  flex: 1;
}

.about-text h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 15px;
}

/* Images */
.about-images {
  flex: 1;
}

.about-images img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-gallery {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.about-gallery img {
  width: 50%;
  height: 140px;
  object-fit: cover;
}


/* =====================
   ABOUT – IMAGE FIX
===================== */

/* Großes Portrait */
.about-images > img {
  width: 100%;
  height: 320px;          /* FIXE HÖHE */
  object-fit: cover;     /* schneidet sauber */
  display: block;
}

/* BTS-Gallery Container */
.about-gallery {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* BTS-Bilder */
.about-gallery img {
  width: 50%;
  height: 160px;         /* FIXE HÖHE */
  object-fit: cover;     /* KEIN Verzerren */
  display: block;
}


/* =====================
   BLOG
===================== */

.blog-section {
  max-width: 1200px;
  margin: 140px auto 80px;
  padding: 0 20px;
}

.blog-section h1 {
  font-size: 36px;
  margin-bottom: 40px;
}

/* Grid */
.blog-grid {
  display: flex;
  gap: 40px;
}

/* Blog Card */
.blog-card {
  flex: 1;                /* max. 2 nebeneinander */
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.blog-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.blog-card h2 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}


/* =====================
   BLOG ARTICLE
===================== */

.blog-article {
  margin-top: 60px;
}

.blog-hero img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

.blog-content {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
}

.blog-content h1 {
  font-size: 36px;
  margin-bottom: 30px;
}

.blog-content h2 {
  font-size: 24px;
  margin: 40px 0 20px;
}

.blog-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* =====================
   WORK – DETAIL PAGE
===================== */

.work-page {
  max-width: 1200px;
  margin: 140px auto 80px;
  padding: 0 20px;
}

.work-intro {
  max-width: 700px;
  margin-bottom: 60px;
}

.work-intro h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.work-intro p {
  font-size: 16px;
  line-height: 1.6;
}

/* Gallery Grid */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.work-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* =====================
   LIGHTBOX
===================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Close */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
  opacity: 0.7;
}

/* =====================
   GALLERY PAGES (Travel/Landscape)
===================== */
.gallery-page {
  max-width: 1200px;
  margin: 140px auto 80px;
  padding: 0 20px;
}

.gallery-head h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.gallery-head p {
  max-width: 650px;
  line-height: 1.6;
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
  line-height: 0;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* =====================
   LIGHTBOX
===================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.lightbox.is-open {
  display: flex;
}

.lb-img {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.lb-btn {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 34px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.lb-btn:hover {
  background: rgba(255,255,255,0.2);
}

.lb-close {
  top: 18px;
  right: 18px;
  font-size: 34px;
  line-height: 1;
}

.lb-prev {
  left: 18px;
}

.lb-next {
  right: 18px;
}

.lb-counter {
  position: absolute;
  bottom: 18px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* =====================
   SERVICES
===================== */

.services-page {
  max-width: 1200px;
  margin: 140px auto 80px;
  padding: 0 20px;
}

.services-intro {
  max-width: 850px;
  margin-bottom: 60px;
}

.services-intro h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.services-intro p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Liste */
.services-list {
  margin-bottom: 80px;
}

.services-list h2 {
  font-size: 22px;
  margin-bottom: 18px;
}

.services-list ul {
  list-style: none;
  padding-left: 0;
  max-width: 850px;
}

.services-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 16px;
}

/* Kontaktbox */
.services-contact {
  margin-bottom: 90px;
}

.services-contact h2 {
  font-size: 22px;
  margin-bottom: 18px;
}

.contact-box {
  max-width: 700px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 22px;
  border-radius: 10px;
  background: #fff;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 8px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
}

.field textarea {
  resize: vertical;
}

/* Button Variante dark (optional) */
.btn-dark {
  border: 1px solid #111;
  background: #111;
  color: #fff;
}

.btn-dark:hover {
  opacity: 0.9;
}

.contact-hint {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.7;
}

/* Referenzen */
.services-references h2 {
  font-size: 22px;
  margin-bottom: 18px;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ref-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}


/* =====================
   SÜDAMERIKA (COMING SOON)
===================== */
.coming-soon-box {
  max-width: 900px;
  margin: 30px auto 0;
  background: #111;
  color: #fff;
  padding: 28px;
  border-radius: 12px;
  line-height: 1.7;
  font-size: 16px;
}

.coming-soon-box p {
  margin-bottom: 14px;
}

.coming-soon-highlight {
  margin-top: 10px;
  font-weight: 600;
  opacity: 0.95;
}

/* =====================
   LEGAL PAGES (Datenschutz / Impressum)
===================== */
.legal-page {
  max-width: 900px;
  margin: 140px auto 80px;
  padding: 0 20px;
}

.legal-page h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.legal-updated {
  opacity: 0.75;
  margin-bottom: 30px;
  font-size: 14px;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.legal-section p {
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 10px;
}

/* BREADCRUMBS */
.breadcrumbs {
  max-width: 1200px;
  margin: 110px auto 0;
  padding: 0 20px;
  font-size: 13px;
  opacity: 0.75;
}

.breadcrumbs a {
  color: #000;
  text-decoration: none;
}

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

.breadcrumbs span {
  margin: 0 6px;
}


/* =========================
   MOBILE / RESPONSIVE FIXES
   (ans ENDE der style.css)
========================= */

/* Bilder dürfen nie über den Screen laufen */
img {
  max-width: 100%;
  height: auto;
}

/* Kleine Geräte */
@media (max-width: 768px) {

  /* Header / Navbar: auf 2 Zeilen, gut klickbar */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .nav-left,
  .nav-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    width: 100%;
    justify-content: flex-start;
  }

  .navbar a {
    font-size: 16px;
    padding: 8px 0;
  }

  /* Dropdown: auf Mobile nicht "hover-abhängig" */
  .nav-item {
    position: relative;
  }

  .dropdown {
    position: static;
    min-width: unset;
    width: 100%;
    margin-top: 6px;
  }

  /* Breadcrumbs kleiner */
  .breadcrumbs {
    padding: 10px 16px;
    font-size: 14px;
  }

  /* Standard Seitenränder kleiner */
  main,
  .work-page,
  .services-page {
    margin: 24px auto 40px;
    padding: 0 16px;
  }

  /* Überschriften besser lesbar */
  h1 {
    font-size: 28px;
    line-height: 1.15;
  }

  h2 {
    font-size: 20px;
  }

  p, li {
    font-size: 16px;
    line-height: 1.55;
  }

  /* Work / Gallery: 1 Spalte statt mehrere */
  .work-gallery {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* Referenzen / Grids: 2 Spalten (falls vorhanden) */
  .ref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* Services Listen besser lesbar */
  .services-list ul {
    padding-left: 18px;
  }

  /* Kontaktformular / Inputs: volle Breite */
  form,
  .contact-box,
  .field,
  input,
  select,
  textarea,
  button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  input,
  select,
  textarea {
    font-size: 16px; /* wichtig: verhindert iOS Zoom beim Tippen */
  }

  /* Footer untereinander statt nebeneinander */
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: left;
    padding: 0 16px;
  }

  /* Lightbox: besser auf Mobile */
  .lightbox {
    padding: 12px;
  }

  .lb-img,
  .lightbox-img {
    max-width: 96vw;
    max-height: 80vh;
  }
}

/* Sehr kleine Geräte */
@media (max-width: 420px) {
  h1 { font-size: 24px; }
  .ref-grid { grid-template-columns: 1fr; }
}
/* =========================
   MOBILE FIXES (STARTSEITE)
   ========================= */

/* verhindert seitliches "rausrutschen" am Handy */
html, body { max-width: 100%; overflow-x: hidden; }

/* sicherstellen, dass navbar überhaupt sauber layoutet */
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

/* Hamburger */
.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  padding:10px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:26px;
  height:2px;
  margin:6px 0;
  background:#fff;
}

/* Desktop: nav links/rechts normal */
.nav-left, .nav-right{
  display:flex;
  align-items:center;
  gap: 18px;
}

/* Dropdown (Desktop hover) bleibt wie du es hast */

/* ---------- MOBILE ---------- */
@media (max-width: 900px){

  .nav-toggle{ display:inline-flex; }

  /* Alles einklappen */
  .navbar .nav-left,
  .navbar .nav-right{
    display:none !important;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap: 8px;
    padding: 10px 0;
  }

  /* Wenn Menü offen ist -> zeigen */
  .navbar.is-open{
    flex-wrap: wrap;
  }
  .navbar.is-open .nav-left,
  .navbar.is-open .nav-right{
    display:flex !important;
  }

  /* Links größer & besser klickbar */
  .navbar a{
    padding: 10px 6px;
    font-size: 16px;
  }

  /* Dropdown am Handy nicht "hover-abhängig" in die Luft hängen lassen */
  .navbar .dropdown{
    position: static;
    box-shadow: none;
    padding-left: 12px;
  }

  /* HERO: Text skalieren */
  .hero h1{
    font-size: clamp(30px, 9vw, 46px);
    line-height: 1.05;
    text-align:center;
  }
  .hero p{
    font-size: 16px;
    padding: 0 14px;
    text-align:center;
  }
  .hero .btn{
    display:block;
    width: min(260px, 90%);
    margin: 14px auto 0;
    text-align:center;
  }

  /* MY WORK: 1 Spalte am Handy, damit nichts abgeschnitten wirkt */
  .work-grid{
    display:grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 14px !important;
  }

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

  /* Footer mobil */
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
    gap: 10px;
    padding: 0 14px;
  }
}


/* =========================
   MOBILE NAV FIX (OVERRIDE)
   ganz ans ENDE der style.css
========================= */
@media (max-width: 900px){

  /* WICHTIG: header darf nicht fix 60px hoch sein */
  header{
    height: auto !important;
  }

  /* Navbar soll volle Breite haben */
  .navbar{
    max-width: 100% !important;
    width: 100%;
    height: auto !important;
    padding: 12px 14px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  /* Burger immer sichtbar */
  .nav-toggle{
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-left: 0;
  }

  /* Burger Linien erzwingen (falls irgendwo überschrieben) */
  .nav-toggle span{
    display:block !important;
    width:26px;
    height:2px;
    margin:6px 0;
    background:#fff;
  }

  /* Menü standardmäßig zu */
  .navbar .nav-left,
  .navbar .nav-right{
    display: none !important;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 10px;
  }

  /* Wenn offen -> anzeigen */
  .navbar.is-open .nav-left,
  .navbar.is-open .nav-right{
    display: flex !important;
  }

  /* Links besser klickbar */
  .navbar a{
    font-size: 16px;
    padding: 10px 6px;
  }

  /* Dropdown am Handy nicht hover-abhängig positionieren */
  .dropdown{
    position: static !important;
    display: none;
    width: 100%;
    padding-left: 12px;
    background: rgba(0,0,0,0.85);
  }

  /* Optional: Dropdown bei Menü offen immer sichtbar (einfach) */
  .navbar.is-open .nav-item .dropdown{
    display: flex;
  }
}
