/*
Theme Name: Wilgersdorf Coming Soon
Theme URI: https://www.wilgersdorf.de/
Author: Fuehrwitz Medien
Author URI: https://www.fuehrwitz.de/
Description: Ein schlichtes Coming-Soon-Theme fuer Wilgersdorf mit Hero und Footer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wilgersdorf-coming-soon
*/

@font-face {
  font-family: "Cormorant Garamond Local";
  src: url("assets/fonts/cormorant/CormorantGaramond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond Local";
  src: url("assets/fonts/cormorant/CormorantGaramond-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond Local";
  src: url("assets/fonts/cormorant/CormorantGaramond-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed Local";
  src: url("assets/fonts/barlow/BarlowCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed Local";
  src: url("assets/fonts/barlow/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed Local";
  src: url("assets/fonts/barlow/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --char: #1a1412;
  --terra: #b5572a;
  --terra-dark: #8c3f1a;
  --stone: #e5ddd0;
  --cream: #faf7f2;
}

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

html {
  min-height: 100%;
  font-size: 16px;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--char);
  color: var(--cream);
  font-family: "Barlow Condensed Local", system-ui, sans-serif;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 4px;
}

.site-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 20, 18, 0.88) 0%, rgba(26, 20, 18, 0.56) 55%, rgba(26, 20, 18, 0.16) 100%),
    radial-gradient(circle at 20% 30%, rgba(181, 87, 42, 0.22), transparent 32%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 7rem 2.5rem;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
  color: var(--terra);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--terra);
}

.hero-title {
  max-width: 940px;
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond Local", Georgia, serif;
  font-size: clamp(3.15rem, 8vw, 7.6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero-title em {
  color: var(--stone);
  font-style: italic;
}

.hero-copy {
  max-width: 680px;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.55;
}

.hero-downloads {
  width: min(100%, 760px);
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-downloads-kicker {
  margin: 0 0 0.45rem;
  color: var(--terra);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-downloads-title {
  margin: 0 0 1rem;
  color: #fff;
  font-family: "Cormorant Garamond Local", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.download-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.download-list a {
  min-height: 82px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.download-list a:hover {
  border-color: rgba(181, 87, 42, 0.85);
  background: rgba(181, 87, 42, 0.22);
  transform: translateY(-2px);
}

.download-list span {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.download-list small {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 2.4rem 2.5rem;
  border-top: 3px solid var(--terra);
  background: var(--char);
}

.footer-inner {
  width: min(100%, 1400px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-copy,
.footer-links {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-copy a,
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration-color: rgba(181, 87, 42, 0.7);
  text-underline-offset: 0.22em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-copy a:hover,
.footer-links a:hover {
  color: #fff;
  text-decoration-color: var(--terra);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .hero {
    min-height: 72vh;
  }

  .hero-content {
    padding: 5.5rem 1.25rem;
  }

  .hero-title {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .download-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 2rem 1.25rem;
  }

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