/*
Theme Name: EDAY Charter
Theme URI: https://eday-charter.de
Author: EDAY Charter GmbH
Author URI: https://eday-charter.de
Description: SEO-optimiertes WordPress-Theme für EDAY Charter GmbH. Modernes, responsives Onepage-Design für Flugzeug-Charter mit editierbarem Logo, Menü und Footer.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eday-charter
Tags: one-column, custom-menu, custom-logo, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, responsive-layout
*/

/* ==========================================================================
   CSS Variables & Base Styles
   ========================================================================== */

:root {
  --accent: #0ea5e9;
  --ink: #0b1220;
  --muted: #5b6472;
  --ring: rgba(14,165,233,.2);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

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

/* ==========================================================================
   Layout Components
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #eef2f6;
  backdrop-filter: saturate(150%) blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: .4px;
  font-size: 1.1rem;
}

.brand span {
  color: var(--accent);
}

.custom-logo {
  max-height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: #2b3340;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
}

nav a:hover,
nav a:focus-visible {
  background: #f6fbfe;
  outline: 2px solid transparent;
}

.hamburger {
  display: none;
  border: 1px solid #e5eaf0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 72px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 420px;
  background: radial-gradient(1000px 300px at 20% -40%, rgba(14,165,233,.14), transparent), radial-gradient(1000px 300px at 80% -40%, rgba(14,165,233,.09), transparent);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.08;
  margin: 0 0 12px;
  letter-spacing: .2px;
}

.sub {
  color: var(--muted);
  max-width: 800px;
  margin: 0 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f6fbfe;
  color: #065a75;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #dff3fb;
  font-weight: 600;
  font-size: .9rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #e8edf3;
  background: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px -8px rgba(14,165,233,.9);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -12px rgba(14,165,233,.6);
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

section {
  padding: 56px 0;
  border-top: 1px solid #f2f6fa;
}

section h2 {
  font-size: clamp(22px, 3.2vw, 32px);
  margin: 0 0 8px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
}

.lead {
  color: var(--muted);
  max-width: 820px;
}

/* ==========================================================================
   Grid & Cards
   ========================================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid #e9eef5;
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(2,6,23,0.03);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.muted {
  color: var(--muted);
}

/* ==========================================================================
   Specs & Pricing
   ========================================================================== */

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.spec {
  border: 1px dashed #e6edf4;
  border-radius: 14px;
  padding: 14px;
}

.spec .k {
  font-size: .86rem;
  color: var(--muted);
}

.spec .v {
  font-weight: 800;
  font-size: 1.1rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.price {
  border: 1px solid #e9eef5;
  border-radius: 18px;
  padding: 20px;
  background: #fff;
}

.price h3 {
  margin: 0 0 6px;
}

.price .p {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .2px;
}

.note {
  font-size: .95rem;
  color: var(--muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

details.faq {
  border: 1px solid #e9eef5;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}

details.faq + details.faq {
  margin-top: 10px;
}

details.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq[open] {
  box-shadow: 0 6px 24px -18px rgba(2,6,23,.2);
}

/* ==========================================================================
   Forms
   ========================================================================== */

form {
  display: grid;
  gap: 12px;
  max-width: 640px;
}

label {
  font-weight: 700;
  font-size: .95rem;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  border-top: 1px solid #eef2f6;
  padding: 28px 0;
  color: var(--muted);
  font-size: .95rem;
}

/* ==========================================================================
   WordPress Core Classes
   ========================================================================== */

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.9em;
  color: var(--muted);
}

.sticky {
  /* Styles for sticky posts */
}

.bypostauthor {
  /* Styles for post author */
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 900px) {
  nav ul {
    display: none;
    position: absolute;
    top: 64px;
    right: 20px;
    background: #fff;
    padding: 10px;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    box-shadow: 0 12px 28px -18px rgba(2,6,23,.25);
  }

  nav ul.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .hamburger {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 48px 0 40px;
  }

  section {
    padding: 40px 0;
  }

  .grid {
    gap: 16px;
  }

  .card {
    grid-column: span 12 !important;
  }
}
