:root {
  --accent: #2f7a80;
  --accent-soft: #3f9198;
}

/* =========================
   RESET
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================
   BASE RESET + TYPO
========================= */

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  color: #111;
  background: #fff;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================
   LINKS
========================= */

a {
  text-decoration: none;
  color: inherit;

  transition: opacity 0.25s ease;
}

a:hover {
  opacity: 0.7;
}

/* ============================= */
/* GLOBAL ENTRY ANIMATIONS */
/* ============================= */

/* START */

body:not(.animations-start) header {
    opacity: 0;
    transform: translateY(30px);
}

/* AFTER START */

body.animations-start header {
    opacity: 1;
    transform: translateY(0);
    transition: 0.6s ease;
}

/* OPTIONAL STAGGER */

body.animations-start header {
    transition-delay: 0.1s;
}

body.animations-start nav {
    transition-delay: 0.2s;
}

body.animations-start .header-icons {
    transition-delay: 0.3s;
}

/* =========================
   PAGE WRAPPER
========================= */

.page-content {
  position: relative;
  margin-top: 100vh;
  z-index: 50;

  background: #fff;
  border-radius: 40px 40px 0 0;

  box-shadow:
    0 -60px 120px rgba(0, 0, 0, 0.35),
    0 -20px 60px rgba(0, 0, 0, 0.2);

  overflow: hidden;
}

/* =========================
   SECTION SYSTEM
========================= */

.section {
  padding: 120px 0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* =========================
   TYPOGRAPHY
========================= */

.subtitle {
  display: block;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 2.5;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

/* =========================
   HERO
========================= */

.hero {
  padding-top: 120px;
}

.hero .section-inner {
  max-width: 1500px;
  padding: 0 40px;
}

.hero-intro {
  max-width: 600px;
  margin: 0 auto 120px;
  transform: none;
  text-align: center;
}

.hero-overline {
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

/* =========================
   WAVE LINE
========================= */

.wave-line {
  width: 350px;
  height: 2px;
  margin: 15px 0 25px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
  animation: waveFade 2s ease forwards;
  opacity: 0;
}

.hero-intro .wave-line {
  margin: 10px auto 20px;
}

.section-header .wave-line {
  margin: 10px auto 20px;
}

.kontakt-header .wave-line {
  margin: 10px auto 20px;
}

/* =========================
   HERO GRID
========================= */

.hero-grid {
  position: relative;
  display: grid;
  margin-top: 150px;
  grid-template-columns: 600px 420px;
  column-gap: 110px;
  justify-content: center;
}

.hero-grid::after {
  content: "";
  position: absolute;
  top: -5%;
  bottom: -5%;
  left: 655px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(47, 122, 128, 0.6),
    transparent
  );
  opacity: 0.4;
  filter: blur(0.3px);
}

.hero-text h1 {
  font-size: 24px;
  line-height: 1.7;
  letter-spacing: 0.3em;
}

.hero-text p {
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 18px;
  max-width: 420px;
}

.hero-image {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  transform: translateY(40px);
}

.hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

/* =========================
   SORTIMENT
========================= */

.sortiment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.sortiment-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  padding-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sortiment-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.sortiment-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.6s ease;
}

.sortiment-item:hover img {
  transform: scale(1.08);
}

.sortiment-item h3 {
  font-size: 22px;
  letter-spacing: 0.05em;
  margin: 20px 20px 10px;
}

.sortiment-item p {
  margin: 0 20px;
  font-size: 15px;
  color: #666;
}

/* =========================
   KONTAKT SECTION
========================= */

.kontakt-section {
  padding: 100px 20px;
  background: #f9f9f7;
}

.kontakt-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

/* LEFT SIDE */

.kontakt-info {
  background: #ffffff;
  padding: 45px;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.kontakt-info h2 {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.kontakt-intro {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 35px;
}

.kontakt-block {
  margin-bottom: 30px;
}

.kontakt-block h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: #888;
}

.kontakt-block p {
  font-size: 16px;
  line-height: 1.6;
}

.kontakt-block a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

.kontakt-block a:hover {
  border-color: #000;
}

/* =========================
   KONTAKT INFO UPGRADE
========================= */

.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 28px;
}

/* ICON */

.kontakt-icon {
  width: 22px;
  height: 22px;
  margin-top: 8px;
  color: #888;
}

.kontakt-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.3;
}

/* TEXT */

.kontakt-item h3 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 76, 92, 0.95);
  margin-bottom: 6px;
}

.kontakt-item p {
  font-size: 16px;
  line-height: 1.6;
}

/* LINKS */

.kontakt-item a {
  border-bottom: 1px solid #ccc;
  transition: 0.3s;
}

.kontakt-item a:hover {
  border-color: #000;
}

/* SUBTILE INTERACTION */

.kontakt-item:hover .kontakt-icon {
  color: #000;
}

/* =========================
   MODERN FORM (NORDISCH)
========================= */

.kontakt-form {
  background: #ffffff;
  align-self: start;
  padding: 60px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.kontakt-form h3 {
  font-size: 22px;
  margin-bottom: 35px;
}

.kontakt-divider {
  width: 180px;
  height: 1px;
  background: var(--accent);
  margin: 20px 0 20px;
  opacity: 0.8;
}

/* FORM GROUP */

.form-group {
  position: relative;
  margin-bottom: 28px;
}

/* INPUTS */

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 14px 0 10px 0;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  transition: 0.3s ease;
}

/* REMOVE DEFAULT LOOK */

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom: 1px solid #000;
}

/* FLOATING LABEL */

.form-group label {
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 14px;
  color: #888;
  pointer-events: none;
  transition: 0.25s ease;
}

/* ANIMATION */

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -8px;
  font-size: 11px;
  color: #000;
}

/* =========================
   POPUP PREMIUM
========================= */

.form-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);

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

  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
  z-index: 999;
}

.form-popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* BOX */

.form-popup {
  background: #ffffff;
  padding: 50px 45px;
  border-radius: 14px;
  text-align: center;
  max-width: 420px;
  width: 90%;

  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: 0.4s ease;
}

.form-popup-overlay.show .form-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.form-success {
  margin-top: 25px;
  font-size: 15px;
  color: var(--accent);
  line-height: 1.6;

  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s ease;
}

.form-success.show {
  opacity: 1;
  transform: translateY(0);
}

/* TITLE */

#popup-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 15px;
  letter-spacing: 0.04em;
}

/* TEXT */

#popup-text {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* BUTTON */

#popup-close {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);

  padding: 12px 26px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  cursor: pointer;
  transition: 0.3s ease;
}

#popup-close:hover {
  background: var(--accent);
  color: #fff;
}

/* TEXTAREA */

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* CHECKBOX */

.checkbox {
  display: flex;
  gap: 10px;
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

/* BUTTON */

.btn-primary {
  margin-top: 30px;
  padding: 16px 24px;

  background: transparent;
  color: rgba(15, 76, 92, 0.95);
  font-weight: 500;
  border: 1px solid rgba(15, 76, 92, 0.95);
  font-size: 13px;
  letter-spacing: 1.3px;
  text-transform: uppercase;

  cursor: pointer;
  position: relative;
  overflow: hidden;

  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover Effekt (füllend, elegant) */

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 76, 92, 0.95);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

/* Hover */

.btn-primary:hover::before {
  transform: scaleX(1);
}

.btn-primary:hover {
  color: #ffffff;
}

/* Klick Gefühl */

.btn-primary:active {
  transform: scale(0.97);
}

/* =========================
   ICON SYSTEM (PREMIUM)
========================= */

.form-group.with-icon {
  position: relative;
  margin-bottom: 30px;
}

/* ICON */

.form-icon {
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  color: #999;
}

.form-icon svg {
  width: 130%;
  height: 130%;
  stroke-width: 1.5;
}

/* INPUTS / TEXTAREA / SELECT */

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 14px 0 10px 28px;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  transition: 0.3s ease;
}

/* FOCUS */

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-bottom: 1px solid #000;
}

/* LABEL */

.form-group label {
  position: absolute;
  left: 28px;
  top: 14px;
  font-size: 16px;
  color: #888;
  pointer-events: none;
  transition: 0.25s ease;
  letter-spacing: 0.02em;
}

/* FLOATING EFFECT */

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:valid + label {
  top: -8px;
  font-size: 14px;
  color: #000;
  letter-spacing: 0.02em;
}

/* TEXTAREA */

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

/* SELECT FIX */

.form-group select {
  appearance: none;
  cursor: pointer;
}

/* ICON REACTION (subtil!) */

.form-group:focus-within .form-icon {
  color: #000;
}

/* MAP */

.kontakt-map {
  max-width: 1200px;
  margin: 80px auto 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

/* =========================
   FORM HEADER
========================= */

.form-header {
  margin-bottom: 35px;
}

.form-header h3 {
  font-family: "Cormorant Garamond", serif;

  font-size: 34px;
  font-weight: 400;

  margin-bottom: 14px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.form-header p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  max-width: 420px;
}

.urlaub-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.urlaub-popup.show {
    display: flex;
}

/* BOX */

.urlaub-box {
    background: white;
    padding: 55px 45px;
    border-radius: 26px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;

    box-shadow: 
        0 10px 30px rgba(0,0,0,0.1),
        0 40px 80px rgba(0,0,0,0.15);

    animation: popupEnter 0.45s ease;
}

/* LOGO */

.urlaub-logo {
    width: 260px;
    max-width: 70%;
    margin-bottom: 25px;
	filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
}

/* TITLE */

.urlaub-box h2 {
    font-size: 1.9rem;
    margin-bottom: 15px;
}

/* TEXT */

.urlaub-box p {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.6;
}

/* COUNTDOWN */

.urlaub-countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.urlaub-countdown div {
    text-align: center;
}

.urlaub-countdown span {
    font-size: 1.8rem;
    font-weight: 600;
    display: block;
}

.urlaub-countdown small {
    font-size: 0.75rem;
    color: #999;
}

/* =========================
   COOKIE BANNER
========================= */

.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);

  width: 90%;
  max-width: 720px;

  background: rgba(20, 40, 50, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;

  box-shadow: 
    0 20px 50px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.05);

  padding: 22px 26px;

  color: #f1f5f6;

  opacity: 0;
  pointer-events: none;

  transition: all 0.5s ease;

  z-index: 3000;
}

.cookie-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}


/* =========================
   INNER
========================= */

.cookie-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-inner p {
  font-size: 0.9em;
  line-height: 1.6;
  opacity: 0.9;
}

.cookie-inner a {
  color: #e6c07b;
  text-decoration: none;
}

.cookie-inner a:hover {
  text-decoration: underline;
}


/* =========================
   BUTTONS
========================= */

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* ACCEPT */

#accept-cookies {
  background: linear-gradient(135deg, #e6c07b, #d4a95f);
  color: #1a1a1a;

  border: none;
  padding: 9px 16px;

  border-radius: 10px;
  font-size: 0.85em;
  font-weight: 500;

  cursor: pointer;

  box-shadow: 0 5px 15px rgba(230,192,123,0.3);

  transition: all 0.25s ease;
}

#accept-cookies:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(230,192,123,0.4);
}


/* DECLINE */

#decline-cookies {
  background: transparent;
  color: #ffffff;

  border: 1px solid rgba(255,255,255,0.25);
  padding: 9px 16px;

  border-radius: 10px;
  font-size: 0.85em;

  cursor: pointer;

  transition: all 0.25s ease;
}

#decline-cookies:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }

}

/* =========================
   MAP PLACEHOLDER
========================= */

.map-wrapper {
  width: 100%;
  height: 450px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;

  background: linear-gradient(
    135deg,
    rgba(15, 76, 92, 0.1),
    rgba(15, 76, 92, 0.05)
  );

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

/* Overlay */

.map-overlay {
  max-width: 400px;
  padding: 20px;
}

.map-icon {
  font-size: 26px;
  margin-bottom: 10px;
  color: #0a6c74;
}

.map-overlay h3 {
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.map-overlay p {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 15px;
}

/* Button */

#load-map {
  background: #e6c07b;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 10px;
}

#load-map:hover {
  opacity: 0.9;
}

#accept-cookies {
  background: #e6c07b;
  color: #000;
}

#decline-cookies {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

/* CLOSE BUTTON (größer & nicer) */

#urlaub-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.25s;
}

#urlaub-close:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* =========================
   ANIMATIONS
========================= */

@keyframes waveFade {
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .kontakt-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .kontakt-form {
    padding: 30px;
  }
}
