/* noeske.net - Stylesheet
   Farbwelt: Blau-Gelb-Neutral (passend zur Visitenkarte)
   Optimiert für Rot-Grün-Sehschwäche (Kontraste über Helligkeit) */

:root {
  /* Hauptfarben */
  --blue-deep: #1e3a5f;       /* dunkles Blau - Hauptfarbe, Headlines */
  --blue-medium: #3a5a8c;     /* mittleres Blau - Akzente */
  --blue-soft: #e8eef7;       /* sehr helles Blau - sanfte Flaechen */

  /* Akzentfarbe */
  --yellow: #f4b942;          /* warmes Gelb - Solar-Akzent */
  --yellow-soft: #fff4d6;     /* helles Gelb - Hintergruende */

  /* Neutrale Toene */
  --sand: #f5f1ea;            /* warmer Sandton */
  --sand-dark: #e8e0d0;       /* dunklerer Sand fuer Trennung */
  --grey-text: #4a5566;       /* Text grau-blau */
  --grey-soft: #8a92a0;       /* sekundaerer Text */
  --grey-divider: #d8dce4;    /* Trennlinien */

  /* Allgemein */
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
  --shadow-hover: 0 8px 32px rgba(30, 58, 95, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--white);
  color: var(--grey-text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   NAVBAR - schlicht, oben
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-divider);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--grey-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue-deep); }

/* =========================================================
   HERO - mit Stock-Bild-Hintergrund
   ========================================================= */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-medium) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.55) 0%, rgba(58, 90, 140, 0.30) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding: 80px 24px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--blue-deep);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--white);
}

.hero h1 .highlight {
  color: var(--yellow);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.55;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--yellow);
  color: var(--blue-deep);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 185, 66, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
}

/* =========================================================
   SECTIONS allgemein
   ========================================================= */
section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  color: var(--blue-medium);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--grey-text);
  max-width: 640px;
  margin-bottom: 48px;
}

/* =========================================================
   ÜBER MICH - kurz
   ========================================================= */
.about {
  background: var(--sand);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

/* Über-mich ohne Foto: nur Textspalte, zentriert begrenzt */
.about-text-only {
  max-width: 720px;
  margin: 0 auto;
}

.about-text-only h2 {
  font-size: 2rem;
  color: var(--blue-deep);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.about-text-only p {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.about-text-only a {
  color: var(--blue-medium);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--blue-soft);
  transition: border-color 0.2s;
}

.about-text-only a:hover {
  border-bottom-color: var(--blue-medium);
}

.about-photo {
  background: var(--blue-soft);
  border-radius: 16px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-medium);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
  background-image: url('joachim.jpg');
  background-size: cover;
  background-position: center;
}

.about-photo.placeholder::before {
  content: "Foto folgt";
  opacity: 0.6;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--blue-deep);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.about-text p {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

/* =========================================================
   HAUPTFELD (Immobilien & Solar zusammen)
   ========================================================= */
.main-field {
  background: var(--white);
}

.feature-card {
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--white) 100%);
  border: 1px solid var(--grey-divider);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--yellow-soft) 0%, transparent 70%);
  opacity: 0.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.feature-block h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  color: var(--blue-deep);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 10px;
  color: var(--blue-medium);
  box-shadow: var(--shadow);
}

.feature-icon.solar { color: var(--yellow); }

.feature-block p {
  font-size: 1rem;
  margin-bottom: 12px;
}

.feature-block ul {
  list-style: none;
  margin-top: 12px;
}

.feature-block li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.feature-block li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue-medium);
  font-weight: 700;
}

/* =========================================================
   IMMOFUX HINWEIS (klein, am Rand)
   ========================================================= */
.immofux-hint {
  background: var(--blue-deep);
  color: var(--white);
  padding: 40px 0;
}

.immofux-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.immofux-text {
  flex: 1;
  min-width: 280px;
}

.immofux-text h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--white);
}

.immofux-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.immofux-link {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--yellow);
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.immofux-link:hover {
  background: var(--yellow);
  color: var(--blue-deep);
}

/* =========================================================
   KONTAKT
   ========================================================= */
.contact {
  background: var(--sand);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  color: var(--blue-deep);
  font-size: 1.1rem;
  margin-bottom: 16px;
  margin-top: 24px;
}

.contact-info h3:first-child { margin-top: 0; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--grey-text);
  text-decoration: none;
  font-size: 1rem;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--blue-medium);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item:hover { color: var(--blue-deep); }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0 28px;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: var(--yellow);
  text-decoration: none;
  margin: 0 12px;
}

footer a:hover { text-decoration: underline; }

.footer-copy {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ========================================================= */
.legal {
  padding: 60px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2.2rem;
  color: var(--blue-deep);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.legal-sub {
  color: var(--grey-soft);
  font-size: 0.95rem;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--grey-divider);
}

.legal h2 {
  font-size: 1.3rem;
  color: var(--blue-deep);
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal h3 {
  font-size: 1.05rem;
  color: var(--blue-medium);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal p { margin-bottom: 12px; }

.legal ul { margin: 12px 0 12px 24px; }

.legal a { color: var(--blue-medium); }

.legal .placeholder {
  background: var(--yellow-soft);
  color: #7a5a00;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92em;
}

.legal .back {
  display: inline-block;
  margin-top: 30px;
  color: var(--blue-medium);
  text-decoration: none;
  font-weight: 600;
}

.legal .back:hover { text-decoration: underline; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 760px) {
  section { padding: 56px 0; }
  .hero-content { padding: 60px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { aspect-ratio: 16/10; }
  .feature-card { padding: 28px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .immofux-inner { flex-direction: column; align-items: flex-start; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.88rem; }
}
