/* =========================================================
   CASANTANO
   GLOBALE STYLE-DATEI

   Diese Datei wird von ALLEN Seiten verwendet.
   ========================================================= */


/* =========================================================
   1. FARBEN UND GR&Ouml;SSEN
   ========================================================= */

:root {

  --blue-dark: #0A2A73;
  --blue: #1F5FBF;
  --blue-light: #A3D4FF;

  --orange: #F28C28;

  --white: #FFFFFF;

  --background: #F8FAFC;
  --text: #16324F;
  --text-light: #60758A;

  --shadow: rgba(10, 42, 115, 0.12);

  --header-height: 78px;

  --content-width: 1200px;
}


/* =========================================================
   2. RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  background: var(--background);

  color: var(--text);

  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;

  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}


/* =========================================================
   3. HEADER
   ========================================================= */

.site-header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  height: var(--header-height);

  background: rgba(255, 255, 255, 0.96);

  z-index: 1000;

  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav-container {
  width:
    min(
      var(--content-width),
      calc(100% - 48px)
    );

  height: 100%;

  margin: 0 auto;

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

  gap: 2rem;
}


/* =========================================================
   4. HEADER-LOGO
   ========================================================= */

.header-logo {
  flex-shrink: 0;

  display: flex;
  align-items: center;

  gap: .65rem;

  color: var(--blue-dark);

  text-decoration: none;
}


/*
   Globus-Signet links im Header
*/

.header-globe-image {
  width: 44px;
  height: 44px;

  object-fit: contain;

  flex-shrink: 0;
}


/*
   Horizontale Herz-/Wortmarke rechts daneben
*/

.header-logo-image {
  width: auto;
  height: 34px;

  object-fit: contain;

  flex-shrink: 0;
}


/*
   Alte Platzhalter-Klassen bleiben vorsorglich erhalten.
*/

.header-logo-symbol {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: var(--blue);

  color: var(--white);

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

  font-size: .65rem;
  font-weight: 700;
}

.header-logo-name {
  font-size: 1.35rem;
  font-weight: 700;

  letter-spacing: .01em;
}


/* =========================================================
   5. DESKTOP-NAVIGATION
   ========================================================= */

.main-nav {
  display: flex;
  align-items: center;

  gap: 1.8rem;
}

.main-nav a {
  position: relative;

  padding: .7rem 0;

  color: var(--text);

  font-size: .96rem;
  font-weight: 600;

  text-decoration: none;

  transition:
    color .2s ease;
}

.main-nav a:hover {
  color: var(--blue-dark);
}


/* Aktuell ge&ouml;ffnete Seite */

.main-nav a.active {
  color: var(--blue-dark);
}

.main-nav a.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 2px;

  height: 3px;

  border-radius: 3px;

  background: var(--blue-dark);
}


/* Buchungsbutton */

.main-nav .nav-booking {
  padding: .65rem 1.2rem;

  border-radius: 999px;

  background: var(--orange);

  color: var(--white);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.main-nav .nav-booking:hover {
  color: var(--white);

  transform: translateY(-1px);

  box-shadow:
    0 5px 14px rgba(0, 0, 0, .12);
}

.main-nav .nav-booking::after {
  display: none;
}


/* =========================================================
   6. HAMBURGER
   ========================================================= */

.hamburger {
  width: 42px;
  height: 42px;

  display: none;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;

  border-radius: 2px;

  background: var(--blue-dark);

  transition:
    transform .2s ease,
    opacity .2s ease;
}


/* Hamburger wird zum X */

.hamburger.open span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}


/* =========================================================
   7. MOBILE NAVIGATION
   ========================================================= */

.mobile-nav {
  position: absolute;

  top: var(--header-height);
  left: 0;
  right: 0;

  display: none;

  flex-direction: column;

  background: var(--white);

  box-shadow:
    0 8px 20px rgba(0, 0, 0, .10);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 1rem 1.5rem;

  border-bottom:
    1px solid rgba(10, 42, 115, .08);

  color: var(--text);

  font-weight: 600;

  text-align: center;
  text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background:
    rgba(10, 42, 115, .06);

  color: var(--blue-dark);
}

.mobile-nav .mobile-booking {
  margin: .8rem 1rem 1rem;

  border: 0;
  border-radius: 999px;

  background: var(--orange);

  color: var(--white);
}


/* =========================================================
   8. HERO
   ========================================================= */

.hero {
  position: relative;

  height: 650px;

  margin-top: var(--header-height);

  overflow: hidden;

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

  background-color: #87BFEA;

  background-size: cover;
  background-position: center;

  color: var(--white);
}


/*
   Das eigentliche Hero-Bild wird in der jeweiligen
   HTML-Datei eingebunden.

   Form, Gr&ouml;&szlig;e und Position bleiben dadurch
   auf allen Seiten identisch.
*/

.hero-start {
}


/*
   Dezente Beruhigung des Hero-Bildes.
*/

.hero::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    rgba(235, 244, 250, .10);
}


/* =========================================================
   9. BILD-PLATZHALTER
   ========================================================= */

.image-placeholder {
  pointer-events: none;

  user-select: none;

  text-transform: uppercase;

  letter-spacing: .08em;
}

.hero-image-placeholder {
  position: absolute;

  inset: 0;

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

  color:
    rgba(255, 255, 255, .28);

  font-size: .85rem;
}


/* =========================================================
   10. HERO-INHALT
   ========================================================= */

.hero-content {
  position: relative;

  z-index: 2;

  width:
    min(
      820px,
      calc(100% - 40px)
    );

  padding-bottom: 3rem;

  text-align: center;
}

.hero-brand {
  margin-bottom: 1.6rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/*
   Vollst&auml;ndiges casantano-Hauptlogo
   im Hero der Startseite.
*/

.hero-main-logo {
  width: 360px;
  max-width: 78vw;
  height: auto;

  object-fit: contain;
}


/*
   Diese Klassen bleiben f&uuml;r eventuelle andere
   Seiten oder fr&uuml;here Logo-Aufteilungen erhalten.
*/

.hero-globe-placeholder {
  width: 100px;
  height: 100px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, .95);

  color: var(--blue-dark);

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

  font-size: .7rem;
  font-weight: 700;

  box-shadow:
    0 8px 30px rgba(0, 0, 0, .12);
}

.hero-globe-image {
  width: 118px;
  height: auto;

  object-fit: contain;
}

.hero-wordmark-image {
  width: 380px;
  max-width: 75vw;
  height: auto;

  object-fit: contain;
}

.hero-brand-name {
  font-size: 2rem;
  font-weight: 700;

  letter-spacing: .01em;
}


/*
   Bleibt global erhalten, auch wenn die Startseite
   den Claim jetzt im Hauptlogo tr&auml;gt.
*/

.hero h1 {
  margin-bottom: 1rem;

  font-size:
    clamp(2.5rem, 5vw, 4.7rem);

  line-height: 1.08;

  text-shadow:
    0 3px 15px rgba(0, 0, 0, .18);
}

.hero-text {
  max-width: 650px;

  margin:
    0 auto 2rem;

  font-size:
    clamp(1.1rem, 2vw, 1.4rem);

  line-height: 1.5;

  text-shadow:
    0 2px 10px rgba(0, 0, 0, .18);
}


/* =========================================================
   10A. HERO AUF ALLGEMEINEN UNTERSEITEN

   Nur Seiten mit der Klasse "hero-subpage" verwenden
   diese feste Struktur.

   Dadurch bleiben:
   - Globus
   - Seiten&uuml;berschrift
   - Beschreibung
   - Button

   auf allen allgemeinen Unterseiten auf denselben
   vertikalen Ebenen.

   Die Startseite wird hiervon NICHT beeinflusst.
   ========================================================= */

.hero-subpage .hero-content {
  height: 410px;

  padding-bottom: 0;

  display: grid;

  grid-template-rows:
    120px
    85px
    145px
    60px;

  align-content: center;
  align-items: stretch;

  text-align: center;
}


/*
   Globus erh&auml;lt einen festen eigenen Bereich.
*/

.hero-subpage .hero-brand {
  margin: 0;

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


/*
   Der Globus bleibt auf allen Unterseiten
   exakt gleich gro&szlig; und an derselben Position.
*/

.hero-subpage .hero-globe-image {
  width: 118px;
  height: auto;

  object-fit: contain;
}


/*
   Auch die Seiten&uuml;berschrift beginnt immer
   an derselben vertikalen Position.

   Selbst wenn eine &Uuml;berschrift einmal umbrechen
   sollte, verschiebt sie weder den Globus noch
   den Folgetext.
*/

.hero-subpage h1 {
  margin: 0;

  padding-top: 12px;

  align-self: start;

  text-align: center;
}


/*
   Der Beschreibungstext besitzt einen eigenen
   festen Bereich.

   Zwei, drei oder vier Zeilen ver&auml;ndern dadurch
   nicht die Position von Globus oder &Uuml;berschrift.
*/

.hero-subpage .hero-text {
  width: 100%;
  max-width: 650px;

  margin: 0 auto;

  align-self: start;

  text-align: center;
}


/*
   Auch der Button besitzt seinen festen Platz.
*/

.hero-subpage .button {
  justify-self: center;
  align-self: center;
}


/* =========================================================
   11. HERO-WELLE
   ========================================================= */

.hero-wave {
  position: absolute;

  left: 0;
  right: 0;
  bottom: -1px;

  height: 90px;

  z-index: 3;

  color: var(--background);
}

.hero-wave svg {
  display: block;

  width: 100%;
  height: 100%;
}


/* =========================================================
   12. BUTTONS
   ========================================================= */

.button {
  display: inline-block;

  padding: .9rem 1.6rem;

  border-radius: 999px;

  font-weight: 700;

  text-decoration: none;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.button:hover {
  transform:
    translateY(-2px);
}

.button-orange {
  background: var(--orange);

  color: var(--white);

  box-shadow:
    0 6px 20px rgba(0, 0, 0, .15);
}


/* =========================================================
   13. FLEXIBLER MITTELBEREICH
   ========================================================= */

.page-content {
  width: 100%;

  background: var(--background);
}

.content-section {
  width:
    min(
      var(--content-width),
      calc(100% - 48px)
    );

  margin: 0 auto;

  padding: 5rem 0;
}


/* =========================================================
   14. ABSCHNITTS-&Uuml;BERSCHRIFTEN
   ========================================================= */

.section-heading,
.welcome {
  max-width: 780px;

  margin: 0 auto;

  text-align: center;
}

.section-eyebrow {
  margin-bottom: .7rem;

  color: var(--orange);

  font-size: .84rem;
  font-weight: 700;

  letter-spacing: .12em;

  text-transform: uppercase;
}

.section-heading h2,
.welcome h2 {
  margin-bottom: 1.1rem;

  color: var(--blue-dark);

  font-size:
    clamp(2rem, 4vw, 3rem);

  line-height: 1.15;
}

.section-heading p,
.welcome p {
  color: var(--text-light);

  font-size: 1.1rem;
}


/* =========================================================
   15. VORTEILE
   ========================================================= */

.benefits {
  margin-top: 4rem;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 2rem;
}

.benefit {
  padding: 1.5rem;

  text-align: center;
}

.benefit-icon {
  width: 62px;
  height: 62px;

  margin:
    0 auto 1rem;

  border-radius: 50%;

  background:
    var(--blue-light);

  color:
    var(--blue-dark);

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

  font-size: 1.5rem;
  font-weight: 700;
}

.benefit h3 {
  margin-bottom: .5rem;

  color: var(--blue-dark);
}

.benefit p {
  color: var(--text-light);
}


/* =========================================================
   16. REISEZIELE
   ========================================================= */

.destination-grid {
  margin-top: 2.7rem;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 2rem;
}

.destination-card {
  position: relative;

  min-height: 370px;

  overflow: hidden;

  border-radius: 22px;

  background: #D9E8F3;

  box-shadow:
    0 8px 25px var(--shadow);

  text-decoration: none;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.destination-card:hover {
  transform:
    translateY(-3px);

  box-shadow:
    0 12px 30px rgba(10, 42, 115, .16);
}

.destination-image {
  position: absolute;

  inset: 0;

  background-size: cover;
  background-position: center;

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

  color: #7891A5;

  font-size: .85rem;

  letter-spacing: .08em;

  text-transform: uppercase;
}


/*
   SP&Auml;TERE BILDER:

.destination-germany {
  background-image:
    url("images/destinations/deutschland.webp");
}

.destination-canada {
  background-image:
    url("images/destinations/kanada.webp");
}

   Sobald echte Bilder vorhanden sind,
   kann der jeweilige Platzhalter-Text
   aus der HTML-Datei entfernt werden.
*/


.destination-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(10, 42, 115, .82),
      rgba(10, 42, 115, .04) 70%
    );
}

.destination-content {
  position: absolute;

  left: 2rem;
  right: 2rem;
  bottom: 1.8rem;

  z-index: 2;

  color: var(--white);

  text-align: left;
}

.destination-country {
  font-size: .88rem;

  opacity: .92;
}

.destination-content h3 {
  margin: .2rem 0 .5rem;

  font-size: 2rem;

  line-height: 1.2;
}

.destination-link {
  font-size: .9rem;
  font-weight: 600;
}


/* =========================================================
   17. UNTERK&Uuml;NFTE
   ========================================================= */

.accommodation-grid {
  margin-top: 2.7rem;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 2rem;
}

.accommodation-card {
  overflow: hidden;

  background: var(--white);

  border-radius: 20px;

  box-shadow:
    0 8px 25px var(--shadow);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.accommodation-card:hover {
  transform:
    translateY(-3px);

  box-shadow:
    0 12px 30px rgba(10, 42, 115, .16);
}

.accommodation-image {
  height: 280px;

  background: #E2EBF2;

  background-size: cover;
  background-position: center;

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

  color: #7891A5;

  font-size: .85rem;

  letter-spacing: .08em;

  text-transform: uppercase;
}


/*
   SP&Auml;TERE BILDER:

.accommodation-germany {
  background-image:
    url("images/accommodations/deutschland.webp");
}

.accommodation-canada {
  background-image:
    url("images/accommodations/kanada.webp");
}
*/


.accommodation-content {
  padding: 1.6rem;
}

.accommodation-location {
  color: var(--orange);

  font-size: .82rem;
  font-weight: 700;

  letter-spacing: .08em;

  text-transform: uppercase;
}

.accommodation-content h3 {
  margin:
    .35rem 0 .65rem;

  color: var(--blue-dark);

  font-size: 1.45rem;

  line-height: 1.25;
}

.accommodation-content p {
  margin-bottom: 1rem;

  color: var(--text-light);
}

.card-link {
  color: var(--blue);

  font-weight: 700;

  text-decoration: none;
}

.card-link:hover {
  color: var(--blue-dark);
}


/* =========================================================
   18. ABSCHLUSSBILD

   Dieser Bereich hat eine FESTE H&Ouml;HE.

   Mehr Inhalt auf einer Unterseite vergr&ouml;&szlig;ert
   ausschlie&szlig;lich den Mittelbereich dar&uuml;ber.
   ========================================================= */

.closing-image {
  position: relative;

  width: 100%;
  height: 470px;

  overflow: hidden;

  background-color: #7CB5DD;

  background-size: cover;
  background-position: center;

  color: var(--white);

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


/*
   Das konkrete Abschlussbild wird in der jeweiligen
   HTML-Datei eingebunden.
*/

.closing-start {
}


/*
   Dezente Beruhigung des Abschlussbildes.
*/

.closing-image::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    rgba(235, 244, 250, .08);
}


/* =========================================================
   19. ABSCHLUSS-WELLE
   ========================================================= */

.closing-wave {
  position: absolute;

  top: -1px;
  left: 0;
  right: 0;

  height: 90px;

  z-index: 3;

  color: var(--background);
}

.closing-wave svg {
  display: block;

  width: 100%;
  height: 100%;
}


/* =========================================================
   20. ABSCHLUSS-INHALT
   ========================================================= */

.closing-image-placeholder {
  position: absolute;

  inset: 0;

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

  color:
    rgba(255, 255, 255, .28);

  font-size: .85rem;
}

.closing-content {
  position: relative;

  z-index: 2;

  width:
    min(
      720px,
      calc(100% - 40px)
    );

  padding-top: 3rem;

  text-align: center;
}

.closing-content h2 {
  margin-bottom: 1rem;

  font-size:
    clamp(2rem, 4vw, 3.5rem);

  line-height: 1.15;

  text-shadow:
    0 3px 15px rgba(0, 0, 0, .16);
}

.closing-content p {
  margin-bottom: 1.8rem;

  font-size: 1.15rem;
}


/* =========================================================
   21. FOOTER
   ========================================================= */

.site-footer {
  padding:
    2rem 1.5rem;

  background:
    var(--blue-dark);

  color:
    var(--white);
}

.footer-inner {
  width:
    min(
      var(--content-width),
      100%
    );

  margin: 0 auto;

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

  gap: 2rem;
}

.footer-links {
  display: flex;

  gap: 1.5rem;
}

.footer-links a {
  color: var(--white);

  text-decoration: none;

  opacity: .92;
}

.footer-links a:hover {
  opacity: 1;

  text-decoration: underline;
}


/* =========================================================
   22. TABLET / MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .nav-container {
    width:
      calc(100% - 32px);
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-globe-image {
    width: 40px;
    height: 40px;
  }

  .header-logo-image {
    height: 31px;
  }

  .hero {
    height: 590px;
  }

  .hero-main-logo {
    width: 310px;
    max-width: 76vw;
  }

  .hero-globe-placeholder,
  .hero-globe-image {
    width: 92px;
  }

  .hero-wordmark-image {
    width: 300px;
  }


  /* -------------------------------------------------------
     FESTE HERO-POSITIONEN AUF UNTERSEITEN
     TABLET / MOBILE
     ------------------------------------------------------- */

  .hero-subpage .hero-content {
    height: 370px;

    padding-bottom: 0;

    grid-template-rows:
      100px
      80px
      125px
      65px;

    align-content: center;
  }

  .hero-subpage .hero-brand {
    margin: 0;
  }

  .hero-subpage .hero-globe-image {
    width: 92px;
  }

  .hero-subpage h1 {
    margin: 0;

    padding-top: 10px;

    align-self: start;
  }

  .hero-subpage .hero-text {
    margin: 0 auto;

    align-self: start;
  }

  .hero-subpage .button {
    align-self: center;
  }


  .content-section {
    width:
      calc(100% - 32px);

    padding:
      3.8rem 0;
  }

  .benefits {
    grid-template-columns: 1fr;

    gap: 1rem;
  }

  .benefit {
    max-width: 500px;

    margin: 0 auto;
  }

  .destination-grid,
  .accommodation-grid {
    grid-template-columns: 1fr;
  }

  .destination-card {
    min-height: 330px;
  }

}


/* =========================================================
   23. KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 600px) {

  :root {
    --header-height: 70px;
  }

  .header-logo {
    gap: .5rem;
  }

  .header-globe-image {
    width: 36px;
    height: 36px;
  }

  .header-logo-image {
    height: 28px;
    max-width: 110px;
  }

  .header-logo-symbol {
    width: 38px;
    height: 38px;
  }

  .header-logo-name {
    font-size: 1.2rem;
  }

  .hero {
    height: 550px;
  }

  .hero-content {
    padding-bottom: 2rem;
  }

  .hero-main-logo {
    width: 250px;
    max-width: 72vw;
  }

  .hero-globe-image {
    width: 80px;
  }

  .hero-wordmark-image {
    width: 230px;
    max-width: 72vw;
  }

  .hero-brand-name {
    font-size: 1.7rem;
  }


  /* -------------------------------------------------------
     FESTE HERO-POSITIONEN AUF KLEINEN SMARTPHONES
     ------------------------------------------------------- */

  .hero-subpage .hero-content {
    height: 350px;

    padding-bottom: 0;

    grid-template-rows:
      88px
      76px
      126px
      60px;

    align-content: center;
  }

  .hero-subpage .hero-brand {
    margin: 0;
  }

  .hero-subpage .hero-globe-image {
    width: 80px;
  }

  .hero-subpage h1 {
    margin: 0;

    padding-top: 8px;

    align-self: start;
  }

  .hero-subpage .hero-text {
    max-width: 92%;

    margin: 0 auto;

    align-self: start;
  }

  .hero-subpage .button {
    align-self: center;
  }


  .hero-wave,
  .closing-wave {
    height: 65px;
  }

  .content-section {
    padding:
      3rem 0;
  }

  .benefits {
    margin-top: 2.5rem;
  }

  .destination-card {
    min-height: 290px;
  }

  .destination-content {
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.4rem;
  }

  .destination-content h3 {
    font-size: 1.65rem;
  }

  .accommodation-image {
    height: 230px;
  }

  .closing-image {
    height: 430px;
  }

  .footer-inner {
    flex-direction: column;

    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;

    justify-content: center;

    gap:
      .8rem 1.3rem;
  }

}


/* =========================================================
   24. REDUZIERTE BEWEGUNG

   Nutzer, die Animationen im System deaktiviert haben,
   bekommen auch hier keine unn&ouml;tigen Bewegungen.
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

}