/*
Theme Name: Fernweh Reise
Theme URI: https://reisebuero-urlaubsparadies.de/
Author: Digitales Chemnitz
Author URI: https://www.digitales-chemnitz.de/
Description: Maßgeschneidertes, Elementor-kompatibles WordPress-Theme für Fernweh Reise in Chemnitz.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: fernweh-reise
*/

:root {
  --fw-white: #fff;
  --fw-sand: #f7f4ee;
  --fw-text: #1d1d1f;
  --fw-muted: #6e6e73;
  --fw-petrol: #0b6e7e;
  --fw-petrol-dark: #094f59;
  --fw-gold: #f2a93b;
  --fw-gold-light: #f9c878;
  --fw-line: rgba(29, 29, 31, 0.09);
  --fw-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --fw-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--fw-text);
  background: var(--fw-white);
  font-family: var(--fw-font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--fw-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--fw-text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a {
  color: var(--fw-petrol);
}

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

::selection {
  color: var(--fw-white);
  background: var(--fw-petrol);
}

.screen-reader-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  border-radius: 8px;
  color: var(--fw-text);
  background: var(--fw-white);
  font-weight: 700;
}

.fw-site-header {
  position: relative;
  z-index: 999;
  border-bottom: 1px solid var(--fw-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px -28px rgba(29, 29, 31, 0.45);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.fw-header-inner {
  display: flex;
  min-height: 76px;
  max-width: var(--fw-width);
  margin: 0 auto;
  padding: 0 32px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.fw-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  color: var(--fw-text);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.fw-logo strong {
  font-weight: 800;
}

.fw-logo-image {
  display: block;
  width: auto;
  height: 52px;
  max-width: 220px;
  object-fit: contain;
}

.fw-custom-logo,
.fw-custom-logo a {
  display: flex;
  align-items: center;
}

.fw-custom-logo img {
  width: auto;
  max-height: 52px;
}

.fw-nav-area,
.fw-primary-nav ul {
  display: flex;
  align-items: center;
}

.fw-nav-area {
  gap: 34px;
}

.fw-primary-nav ul {
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fw-primary-nav a {
  color: var(--fw-muted);
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
}

.fw-primary-nav a:hover,
.fw-primary-nav .current-menu-item > a {
  color: var(--fw-petrol);
}

.fw-phone,
.fw-footer-button {
  display: inline-flex;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--fw-white);
  background: var(--fw-petrol);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.fw-phone:hover {
  color: var(--fw-white);
  background: var(--fw-petrol-dark);
}

.fw-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--fw-line);
  border-radius: 50%;
  color: var(--fw-text);
  background: var(--fw-white);
  font-size: 1.25rem;
  cursor: pointer;
}

.fw-content {
  min-height: 55vh;
}

.fw-default-content {
  max-width: var(--fw-width);
  margin: 0 auto;
  padding: 80px 32px;
}

.fw-site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #073f48;
}

.fw-footer-grid {
  display: grid;
  max-width: var(--fw-width);
  margin: 0 auto;
  padding: 64px 32px 48px;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 70px;
}

.fw-site-footer h2,
.fw-site-footer h3 {
  margin-top: 0;
  color: var(--fw-white);
}

.fw-site-footer h2 {
  font-size: 1.45rem;
}

.fw-site-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fw-site-footer p {
  max-width: 46ch;
}

.fw-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fw-site-footer li + li {
  margin-top: 9px;
}

.fw-site-footer a {
  color: inherit;
  text-decoration: none;
}

.fw-site-footer a:hover {
  color: var(--fw-gold-light);
}

.fw-footer-button {
  color: var(--fw-text) !important;
  background: var(--fw-white);
}

.fw-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.fw-footer-bottom-inner {
  display: flex;
  max-width: var(--fw-width);
  margin: 0 auto;
  padding: 23px 32px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.82rem;
}

.fw-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

:focus-visible {
  outline: 2px solid var(--fw-petrol);
  outline-offset: 3px;
}

@media (max-width: 880px) {
  .fw-header-inner {
    min-height: 68px;
    padding: 0 20px;
  }

  .fw-logo-image {
    height: 44px;
    max-width: 190px;
  }

  .fw-menu-toggle {
    display: block;
  }

  .fw-nav-area {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 22px 20px 26px;
    border-bottom: 1px solid var(--fw-line);
    background: var(--fw-white);
    box-shadow: 0 24px 40px -30px rgba(29, 29, 31, 0.4);
  }

  .fw-site-header.is-open .fw-nav-area {
    display: grid;
  }

  .fw-primary-nav ul {
    display: block;
  }

  .fw-primary-nav li + li {
    border-top: 1px solid var(--fw-line);
  }

  .fw-primary-nav a {
    display: block;
    padding: 12px 2px;
  }

  .fw-phone {
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
  }

  .fw-footer-grid {
    padding: 50px 24px 40px;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .fw-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .fw-footer-grid {
    padding: 44px 20px 36px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .fw-footer-brand {
    grid-column: auto;
  }

  .fw-footer-bottom-inner {
    padding: 22px 20px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Contact Form 7 – persönliche Reiseanfrage */
.fw-cf7 {
  max-width: 920px;
  margin: 0 auto;
  padding: 52px;
  border: 1px solid var(--fw-line);
  border-radius: 24px;
  background: var(--fw-white);
  box-shadow: 0 30px 60px -42px rgba(29, 29, 31, 0.38);
}

.fw-cf7-intro {
  max-width: 650px;
  margin: 0 auto 42px;
  text-align: center;
}

.fw-cf7-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #9c6710;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fw-cf7-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
}

.fw-cf7-intro p {
  margin: 0;
  color: var(--fw-muted);
  font-size: 1.02rem;
}

.fw-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.fw-cf7-full {
  grid-column: 1 / -1;
}

.fw-cf7-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--fw-text);
  font-size: 0.83rem;
  font-weight: 700;
}

.fw-cf7-field label span[aria-hidden="true"],
.fw-cf7-required span {
  color: #a56000;
}

.fw-cf7 .wpcf7-form-control-wrap {
  display: block;
}

.fw-cf7 input[type="text"],
.fw-cf7 input[type="email"],
.fw-cf7 input[type="tel"],
.fw-cf7 input[type="number"],
.fw-cf7 select,
.fw-cf7 textarea {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid var(--fw-line);
  border-radius: 12px;
  color: var(--fw-text);
  background: var(--fw-sand);
  font-size: 0.96rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fw-cf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.fw-cf7 input:focus,
.fw-cf7 select:focus,
.fw-cf7 textarea:focus {
  outline: none;
  border-color: var(--fw-petrol);
  background: var(--fw-white);
  box-shadow: 0 0 0 4px rgba(11, 110, 126, 0.12);
}

.fw-cf7 input.wpcf7-not-valid,
.fw-cf7 select.wpcf7-not-valid,
.fw-cf7 textarea.wpcf7-not-valid {
  border-color: #b42318;
}

.fw-cf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b42318;
  font-size: 0.8rem;
}

.fw-cf7-consent {
  padding: 18px 20px;
  border-radius: 12px;
  color: var(--fw-muted);
  background: var(--fw-sand);
  font-size: 0.84rem;
  line-height: 1.55;
}

.fw-cf7-consent .wpcf7-list-item {
  margin: 0;
}

.fw-cf7-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.fw-cf7-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--fw-petrol);
}

.fw-cf7-consent a {
  font-weight: 700;
}

.fw-cf7-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.fw-cf7 input[type="submit"] {
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  color: var(--fw-white);
  background: var(--fw-petrol);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fw-cf7 input[type="submit"]:hover {
  background: var(--fw-petrol-dark);
  transform: translateY(-1px);
}

.fw-cf7 input[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.65;
}

.fw-cf7-service {
  color: var(--fw-muted);
  font-size: 0.88rem;
}

.fw-cf7-service a {
  color: var(--fw-petrol);
  font-weight: 800;
  text-decoration: none;
}

.fw-cf7-required {
  margin: 24px 0 0;
  color: var(--fw-muted);
  font-size: 0.78rem;
  text-align: center;
}

.fw-cf7 + .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
  max-width: 920px;
  margin: 22px auto 0;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  color: var(--fw-text);
  background: var(--fw-sand);
  font-size: 0.9rem;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #075e54;
  background: #e8f6f2;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  color: #8a271f;
  background: #fdefec;
}

.fw-cf7 .wpcf7-spinner {
  margin: 0;
}

@media (max-width: 720px) {
  .fw-cf7 {
    padding: 34px 22px;
    border-radius: 18px;
  }

  .fw-cf7-grid {
    grid-template-columns: 1fr;
  }

  .fw-cf7-full {
    grid-column: auto;
  }

  .fw-cf7-submit {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .fw-cf7 input[type="submit"] {
    width: 100%;
  }
}
