/* Sonnenstudio Karibik – Stylesheet */

/* Lokale Schriften (werden im <head> per rel=preload vorgeladen) */
@font-face {
  font-family: DejaVu;
  src: url("../fonts/DejaVuSans-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DejaVu;
  src: url("../fonts/DejaVuSans-Bold-subset.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #102f44;
  --deep: #0b2434;
  --gold: #f2bb61;
  --cream: #fcf6ec;
  --sand: #efe5d5;
  --ink: #203343;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font-family: DejaVu, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}
a {
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: white;
  padding: 10px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 9;
  background: #fffaf2;
  box-shadow: 0 1px 18px #071f2b15;
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 25px;
}
.brand img {
  width: 210px;
  height: auto;
  display: block;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header nav a {
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 700;
}
.header nav a:hover,
.text-link:hover {
  color: #bb741e;
}
.nav-call {
  border: 1px solid var(--navy);
  padding: 10px 17px;
  border-radius: 100px;
}
.menu {
  display: none;
  background: none;
  border: 0;
  color: var(--navy);
}
.hero {
  min-height: 650px;
  position: relative;
  background: url("../../media/hero.webp") center 52% / cover;
  display: flex;
  align-items: center;
  color: white;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 28, 44, 0.85),
    rgba(4, 28, 44, 0.45) 45%,
    transparent 78%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-box {
  max-width: 635px;
  padding: 105px 0;
}
.hero h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0.27em 0;
}
.hero h1 {
  font-size: clamp(3.2rem, 6vw, 6rem);
}
h2 {
  font-size: clamp(2.8rem, 4.4vw, 4.7rem);
  color: var(--navy);
}
em {
  font-weight: 400;
  color: #FBB408;
}
h1 em,
.pause em {
  color: #FBB408;
}
.hero p {
  font-size: 1.06rem;
  max-width: 480px;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #ad702a;
}
.eyebrow.light {
  color: #FBB408;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-radius: 3px;
  padding: 14px 23px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid transparent;
}
.btn.gold {
  background: #FBB408;
  color: var(--deep);
}
.btn.outline {
  border-color: #ffffffb8;
  color: white;
}
.btn.dark {
  background: var(--navy);
  color: white;
}
.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.hero-caption {
  position: absolute;
  bottom: 18px;
  right: 35px;
  text-shadow: 0 1px 6px #000;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
}
.section {
  padding: 110px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.large {
  font-size: 1.16rem;
  line-height: 1.75;
}
.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}
.mini-grid div {
  border-top: 1px solid #d7c8b2;
  padding-top: 16px;
  display: grid;
  align-content: start;
  gap: 2px;
  font-size: 0.82rem;
}
.mini-grid b {
  color: #bf812f;
}
.mini-grid strong {
  color: var(--navy);
}
.prices {
  background: #e9f0ef;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}
.section-title p {
  max-width: 350px;
  font-size: 0.9rem;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.price-card {
  background: #fffdf8;
  padding: 30px;
  box-shadow: 0 9px 30px #1031440c;
}
.price-card__image {
  display: block;
  width: calc(100% + 60px);
  max-width: none;
  height: auto;
  aspect-ratio: 557 / 413;
  object-fit: cover;
  margin: -30px -30px 26px;
  background: #fff;
}
.price-card__image + h3 {
  margin-top: 0;
}
.card-top {
  display: flex;
  justify-content: space-between;
  color: #a36b31;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.sun-icon {
  font-size: 2rem;
  line-height: 1;
}
.price-card h3 {
  font:
    normal 2rem Georgia,
    serif;
  margin: 34px 0 10px;
  color: var(--navy);
}
.price-card p {
  font-size: 0.8rem;
  min-height: 48px;
}
.price-card dl {
  margin: 22px 0 0;
}
.price-card dl div {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid #eee7da;
}
.price-card dt,
.price-card dd {
  margin: 0;
}
.price-card dd {
  font-weight: 700;
  color: var(--navy);
}
.price-note {
  font-size: 0.76rem;
  margin-top: 25px;
}
.pause {
  background: var(--deep);
  text-align: center;
}
.pause h2 {
  color: white;
  margin: 18px 0 30px;
}
.narrow {
  max-width: 830px;
}
.faq h2 {
  margin-bottom: 45px;
}
.faq-list details {
  border-bottom: 1px solid #d8ccbc;
}
.faq-list details:first-child {
  border-top: 1px solid #d8ccbc;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  font-weight: 700;
  color: var(--navy);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list p {
  margin: 0 0 24px;
  max-width: 700px;
  font-size: 0.91rem;
}
.visit {
  background: #f2e8d9;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.visit address {
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0;
}
.visit-info {
  border-top: 1px solid #d3c2ac;
  padding-top: 18px;
  margin: 20px 0;
}
.visit-info p {
  margin: 4px 0;
}
.visit-info small {
  display: block;
  color: #6c6258;
  max-width: 440px;
}
.text-link {
  font-weight: 700;
  color: #995c20;
}
.map-panel {
  background: #fff;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 35px #102f4420;
}
.map-placeholder {
  flex: 1;
  padding: 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.map-art {
  height: 110px;
  width: 100%;
  max-width: 340px;
  background: linear-gradient(
    125deg,
    #d8e7db 20%,
    #f4f0db 20% 37%,
    #bdd2ca 37% 45%,
    #ebe8ce 45% 70%,
    #d3e4db 70%
  );
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.map-art span {
  font-size: 3rem;
  color: #b56525;
}
.map-placeholder p {
  font-size: 0.78rem;
  max-width: 360px;
}
.map-placeholder > a {
  font-size: 0.72rem;
  margin-top: 18px;
}
.map-panel iframe {
  border: 0;
  width: 100%;
  height: 425px;
}
.map-canvas {
  width: 100%;
  height: 425px;
  z-index: 0; /* Leaflet-Ebenen unter Header/Schnellkontakt halten */
}

/* Marker: Pin in Markenfarbe (ohne Bilddateien) */
.map-pin span {
  display: block;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  background: var(--gold);
  border: 3px solid var(--deep);
  border-radius: 50% 50% 50% 0;
  position: relative;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px #071f2b55;
}
.map-pin span::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--deep);
  border-radius: 50%;
}

/* Popup (Name, Adresse, Route-Button) */
.map-panel .leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: 0 10px 30px #102f4433;
}
.map-panel .leaflet-popup-content {
  margin: 26px 22px 20px;
}
.map-popup {
  text-align: center;
  font-family: DejaVu, Arial, sans-serif;
}
.map-popup__title {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #c78334;
  margin-bottom: 8px;
}
.map-popup__address {
  margin: 0 0 16px !important;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink);
}
.map-panel .leaflet-container a.map-popup__route {
  display: block;
  padding: 11px 16px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--deep);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.map-panel .leaflet-container a.map-popup__route:hover {
  filter: brightness(1.06);
}
@media (max-width: 600px) {
  .map-canvas {
    height: 360px;
  }
}
.map-credit {
  font-size: 0.68rem;
  text-align: right;
  padding: 6px 12px;
  background: white;
}
.legal {
  max-width: 850px;
}
.legal h1 {
  font:
    normal clamp(2.9rem, 5vw, 4.4rem) Georgia,
    serif;
  color: var(--navy);
}
.legal h2 {
  font:
    normal 1.55rem Georgia,
    serif;
  letter-spacing: 0;
  margin-top: 40px;
}
.legal p,
.legal li {
  font-size: 0.92rem;
}
.legal-note {
  background: #fff0d6;
  border-left: 4px solid #c7852c;
  padding: 16px;
}
.legal a {
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .menu {
    display: block;
  }
  .header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fffaf2;
    padding: 22px 24px;
    box-shadow: 0 12px 20px #0002;
    flex-direction: column;
    align-items: stretch;
  }
  .header nav.open {
    display: flex;
  }
  .head-inner {
    min-height: 74px;
  }
  .brand img {
    width: 165px;
  }
  .intro-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    min-height: 600px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: min(100% - 34px, 1180px);
  }
  .section {
    padding: 70px 0;
  }
  .hero {
    min-height: 570px;
    background-position: 62% center;
  }
  .hero-shade {
    background: linear-gradient(90deg, #09293dd9, #09293d88);
  }
  .hero-box {
    padding: 70px 0;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-caption {
    display: none;
  }
  .price-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    display: block;
  }
  .price-card p {
    min-height: 0;
  }
  .visit-grid {
    gap: 35px;
  }
  .map-panel {
    min-height: 390px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.contact {
  background: #fff9f0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
}
.contact-card {
  background: #fff;
  padding: 34px;
  box-shadow: 0 8px 30px #102f4416;
}
.contact form {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}
.contact input,
.contact select,
.contact textarea {
  font: inherit;
  width: 100%;
  padding: 11px;
  border: 1px solid #c8c7c1;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
}
.contact .check {
  display: block;
  font-weight: 400;
}
.contact .check input {
  width: auto;
  margin-right: 8px;
}
.hp-field {
  position: absolute;
  left: -9999px;
}
.contact-card [role="alert"] {
  color: #8c331d;
}
.contact-card [role="status"] {
  color: #196843;
}
@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 23px;
  }
}

.offers {
  background: #29353d;
  color: #fff;
}
.offers-intro {
  text-align: center;
  max-width: 730px;
  margin: 0 auto 46px;
}
.offers h2 {
  color: #fff;
}
.offers-intro p {
  font-size: 0.88rem;
  color: #d4d9da;
}
.offers h3 {
  text-align: center;
  font:
    normal 1.5rem Georgia,
    serif;
  letter-spacing: 0.08em;
  color: #f5be51;
  margin: 32px 0 22px;
}
.offer-grid {
  display: grid;
  gap: 20px;
}
.offer-grid--featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin: auto;
}
.offer-grid--monthly {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.offer-card {
  background: #f4ba24;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.offer-card h4 {
  margin: 0;
  padding: 16px 12px;
  background: #ffcb45;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #25333b;
}
.offer-amount {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin: auto 0;
  padding: 25px 8px;
  color: #fff;
}
.offer-amount span {
  font-size: 0.4em;
  vertical-align: super;
  font-weight: 400;
}
.offer-type {
  margin: 0;
  background: #fff;
  color: #566169;
  font-size: 0.8rem;
  padding: 12px 8px;
}
.offer-note {
  font-size: 0.74rem;
  color: #d1d7d8;
  margin: 28px auto 0;
  text-align: center;
  max-width: 750px;
}
@media (max-width: 800px) {
  .offer-grid--monthly {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .offer-grid--featured,
  .offer-grid--monthly {
    grid-template-columns: 1fr;
  }
  .offer-card {
    max-width: 430px;
    width: 100%;
    margin: auto;
  }
  .offer-amount {
    padding: 20px 8px;
  }
  .offers h3 {
    margin-top: 36px;
  }
}

/* =========================================================================
 * Footer (Aufbau analog strom-erdgas.info)
 * ========================================================================= */
.footer {
  background: var(--deep);
  color: #f7eee2;
  padding: 70px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: 50px;
}
.footer h2 {
  font-family: DejaVu, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #ffcb7c;
  margin: 0 0 16px;
}
.footer h2.footer-subhead {
  margin-top: 26px;
}
.footer p,
.footer address,
.footer a {
  font-size: 0.8rem;
}
.footer p,
.footer address {
  margin: 0 0 12px;
  font-style: normal;
}
.footer-grid > div > a {
  display: block;
  width: fit-content;
  padding: 3px 0;
  text-decoration: none;
}
.footer-grid > div > a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}
.footer-brand > img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
}
.footer-brand p {
  max-width: 340px;
  color: #d4d9da;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.footer-social img {
  display: block;
  width: 20px;
  height: 20px;
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: #bfc9ce;
}
.footer-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8c9aa3;
}
.footer-status--open {
  color: #b9e6c9;
}
.footer-status--open::before {
  background: #3fbf6f;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid #ffffff30;
  padding-top: 20px;
  margin-top: 45px;
  font-size: 0.68rem;
  color: #bfc9ce;
}
.footer-bottom a {
  font-size: inherit;
  color: #f7eee2;
}

/* Schnellkontakt (unten rechts, Telefon nur während der Öffnungszeiten) */
.quick-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quick-contact__button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 6px 18px #071f2b40;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.quick-contact__button:hover,
.quick-contact__button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.quick-contact__button--phone {
  background: var(--gold);
}
.quick-contact__button--whatsapp {
  background: #25d366;
}
.quick-contact__button--email {
  background: #fbb408;
}
.quick-contact__button img {
  display: block;
  width: 24px;
  height: 24px;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 600px) {
  .footer {
    padding-top: 55px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    padding-bottom: 60px; /* Platz für Schnellkontakt */
  }
  .quick-contact {
    right: 12px;
    bottom: 12px;
  }
  .quick-contact__button {
    width: 46px;
    height: 46px;
  }
}

/* =========================================================================
 * 404-Seite
 * ========================================================================= */
.not-found {
  text-align: center;
}
.not-found__code {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(6rem, 16vw, 11rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.04em;
}
.not-found h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin: 0.2em 0 0.4em;
}
.not-found p {
  max-width: 520px;
  margin: 0 auto;
}
.not-found .actions {
  justify-content: center;
}
.not-found__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid #d8ccbc;
  font-size: 0.85rem;
  font-weight: 700;
}
.not-found__links a {
  color: #995c20;
  text-decoration: none;
}
.not-found__links a:hover {
  text-decoration: underline;
}
