:root {
  --gold: #f8d174;
  --black: #000;
  --cream: #f7f1e5;
  --white: #fff;
  --muted: #aaa;
  --line: rgba(248, 209, 116, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0;
}


/* --------------------------------------------------
   HEADER
-------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 5vw;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
}

.brand img {
  width: 210px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.main-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 30px 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: 0.25s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: 0.25s;
}

.header-button,
.btn-gold {
  background: var(--gold);
  color: #000;
}

.header-button:hover,
.btn-gold:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: #000;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin: 6px;
}


/* --------------------------------------------------
   ALLGEMEIN
-------------------------------------------------- */

.section {
  padding: 95px 6vw;
}

.section-light {
  background: var(--cream);
  color: #111;
}

.section-title {
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  margin-bottom: 48px;
}

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

.eyebrow {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}


/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.page-hero {
  padding: 110px 6vw 85px;
  background: linear-gradient(135deg, #111, #000);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  color: var(--gold);
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 700px;
  color: #ccc;
}


/* --------------------------------------------------
   KONTAKTBEREICH
-------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact {
  padding: 55px;
  border: 1px solid var(--line);
  transition: 0.25s;

  /*
  Verhindert, dass Inhalte die Box sprengen.
  */
  min-width: 0;
}

.contact span {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.contact h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.8rem);
  line-height: 1.08;
  margin: 18px 0 0;

  /*
  Wörter sollen möglichst nicht mitten
  im Wort getrennt werden.
  */
  word-break: normal;
  overflow-wrap: normal;
}

.contact h2 a {
  display: inline;
}


/*
--------------------------------------------------
E-MAIL

Dadurch ist die E-Mail etwas kleiner als die
anderen Kontaktdaten und wird schöner dargestellt.
--------------------------------------------------
*/

.contact-email {
  font-size: clamp(1.35rem, 2.2vw, 2.35rem);
  line-height: 1.12;

  word-break: normal;
  overflow-wrap: normal;
}


/*
Falls du in kontakt.html dieses <wbr> einfügst:

wondernailsstudio.sany@<wbr>gmail.com

darf der Browser bevorzugt genau nach dem @
umbrechen.
*/


/*
--------------------------------------------------
INSTAGRAM
--------------------------------------------------
*/

.contact-instagram {
  font-size: clamp(1.45rem, 2.5vw, 2.7rem);
  line-height: 1.1;
  word-break: normal;
  overflow-wrap: normal;
}


/*
--------------------------------------------------
ADRESSE
--------------------------------------------------
*/

.contact-address {
  font-size: clamp(1.45rem, 2.6vw, 2.8rem);
  line-height: 1.1;
}


/* Hover */

.contact:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-4px);
}

.contact:hover span {
  color: #000;
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.site-footer {
  padding: 38px 6vw 20px;
  background: #050505;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 50px;
  align-items: center;
}

.footer-inner img {
  width: 190px;
}

.footer-inner div {
  display: flex;
  gap: 25px;
}

.footer-inner a:hover {
  color: var(--gold);
}

.site-footer p {
  text-align: center;
  color: #777;
  font-size: 0.78rem;
  margin-top: 30px;
}


/* --------------------------------------------------
   ANIMATION
-------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.7s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* --------------------------------------------------
   LOGO IM HEADER AUSBLENDEN
-------------------------------------------------- */

header img {
  visibility: hidden;
}


/* --------------------------------------------------
   TABLET
-------------------------------------------------- */

@media (max-width: 900px) {

  .site-header {
    grid-template-columns: 1fr auto;
    height: 78px;
  }

  .brand img {
    width: 180px;
  }

  .header-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 78px;
    background: #000;
    flex-direction: column;
    gap: 0;
    padding: 20px 6vw;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 15px 0;
  }

  .main-nav a::after {
    bottom: 7px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }


  /*
  Kontaktkarten auf Tablets etwas kompakter.
  */

  .contact {
    padding: 42px;
  }

  .contact h2 {
    font-size: clamp(1.5rem, 3.3vw, 2.5rem);
  }

  .contact-email {
    font-size: clamp(1.25rem, 2.8vw, 2rem);
  }
}


/* --------------------------------------------------
   HANDY
-------------------------------------------------- */

@media (max-width: 700px) {

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 35px;
  }

  .contact h2 {
    font-size: clamp(1.45rem, 7vw, 2.4rem);
  }

  .contact-email {
    font-size: clamp(1.2rem, 5.8vw, 2rem);
  }

  .contact-instagram {
    font-size: clamp(1.3rem, 6vw, 2.2rem);
  }
}


/* --------------------------------------------------
   FOOTER HANDY
-------------------------------------------------- */

@media (max-width: 768px) {

  .site-footer {
    text-align: center;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .footer-inner img {
    display: block;
    margin: 0 auto;
  }

  .footer-inner div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .site-footer p {
    text-align: center;
    margin-top: 20px;
  }
}