/* ==========================================================================
   Ferienwohnung Brissago – modernisiertes Stylesheet
   Gleiche Farbwelt wie die bisherige Seite: Navy #003366, Cyan #0CC/#099
   ========================================================================== */

:root {
  --navy: #003366;
  --navy-dark: #002347;
  --teal: #099;
  --teal-light: #0cc;
  --teal-lighter: #c1ecec;
  --water-bg: #eef7f7;
  --white: #ffffff;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  background-color: var(--water-bg);
  line-height: 1.55;
}

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

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

a:hover,
a:focus {
  color: var(--teal-light);
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

h1 {
  font-size: 1.9rem;
  margin: 0 0 0.6em;
}

h2 {
  font-size: 1.35rem;
  color: var(--teal);
  font-style: italic;
  font-weight: 500;
}

/* ---------- Skip link (Barrierefreiheit) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  color: var(--white);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.logo:hover {
  color: var(--teal-light);
  text-decoration: none;
}

.logo img {
  height: 42px;
  width: auto;
}

/* ---------- Navigation ---------- */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 2px solid var(--teal-light);
  border-radius: 4px;
  width: 44px;
  height: 40px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--white);
}

.main-nav {
  background: var(--navy-dark);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.main-nav > ul {
  display: none;
  flex-direction: column;
}

.main-nav.open > ul {
  display: flex;
}

.main-nav li {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.main-nav a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--white);
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--navy);
  color: var(--teal-light);
  text-decoration: none;
}

.main-nav .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.15);
}

.main-nav .submenu a {
  padding-left: 2rem;
  font-size: 0.95rem;
}

.main-nav .current > a {
  color: var(--teal-light);
  font-weight: 600;
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .main-nav > ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .main-nav li {
    border-top: none;
  }

  .main-nav li:hover .submenu,
  .main-nav li:focus-within .submenu {
    display: block;
  }

  .main-nav .submenu {
    display: none;
    position: absolute;
    min-width: 200px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  }

  .main-nav .submenu a {
    padding-left: 1rem;
  }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
  text-align: center;
}

.hero .intro {
  color: var(--teal);
  font-style: italic;
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 0 auto 1rem;
}

.hero-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.25);
  margin: 1.5rem auto;
  max-width: 700px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.badge {
  background: var(--teal-lighter);
  color: var(--navy);
  border: 1px solid var(--teal);
  border-radius: 6px;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

.cta-button {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 1rem;
}

.cta-button:hover,
.cta-button:focus {
  background: var(--teal-light);
  color: var(--navy);
  text-decoration: none;
}

/* ---------- Content pages ---------- */
.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.content-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 51, 102, 0.1);
  margin-bottom: 1.5rem;
}

.pullquote,
.pullquote-left,
.pullquote-breit{
  background: var(--teal-lighter);
  border: 1px dashed var(--navy);
  padding: 0.75rem;
  border-radius: 4px;
  margin: 0 0 1;
}


@media (min-width: 700px) {
  .pullquote {
    float: right;
    width: 45%;
    margin: 0 0 1rem 1.25rem;
  }
  .pullquote-left {
    float: left;
    width: 45%;
    margin: 0 1.25rem 1rem 0;
  }
  .pullquote-breit {
    float: left;
    width: 100%;
    margin: 0;
  }
}

.thumb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  clear: both;
  margin: 1rem 0;
}

.thumb-links img {
  width: 110px;
  border-radius: 4px;
  border: 1px solid var(--teal-lighter);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal);
  color: var(--navy);
  border-top: 1px solid var(--navy);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.25rem;
  margin: 0 0 0.3rem;
  padding: 0;
}

.footer-nav a {
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-contact {
  text-align: center;
  font-size: 0.75rem;
}

.designed-by {
  text-align: center;
  font-size: 0.75rem;
  color: var(--navy-dark);
  padding: 0.5rem 0 1.25rem;
}

/* ---------- Zusätzliche Inhalts-Elemente ---------- */
h3 {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 1.4rem 0 0.4rem;
}

.content-card table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.95rem;
}

.content-card table caption,
.content-card table th {
  text-align: left;
}

.content-card table td {
  border: 1px solid #d9e6e6;
  padding: 0.4rem 0.6rem;
}

.content-card table tr.season-row td {
  background: var(--teal-lighter);
  border: none;
  padding-top: 0.9rem;
}

.booking-widget {
  margin: 1rem 0;
}

.booking-widget iframe {
  width: 100%;
  border: 0;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eef2f2;
}

.video-wrap {
  text-align: center;
  margin: 1rem 0;
}

.video-wrap video {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 51, 102, 0.2);
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
}

/* ---------- Bildergalerie ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
  margin: 1rem 0;
}

.gallery-grid a {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: var(--teal-lighter);
}

.gallery-grid img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.06);
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 40, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
}

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

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 78vh;
  border-radius: 4px;
}

.lightbox-caption {
  color: var(--white);
  margin-top: 0.75rem;
  text-align: center;
  max-width: 80ch;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
