/*
Theme Name: Mein Einfaches Theme
Theme URI: https://visitors.sueddeutsche-truthahn.com/
Author: Visitors
Author URI: aufwind.co.at
Description: Ein sehr simples WordPress-Theme
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: mein-theme
*/

:root {
  --color-primary: #6a6358;
  --color-primary-dark: #49463f;
  --color-secondary: #f6c500;
  --color-white: #fff;
  --color-bg: #bcb6b0;
}

/* mulish-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Mulish";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/mulish-v17-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* mulish-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Mulish";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/mulish-v17-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* mulish-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Mulish";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/mulish-v17-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* mulish-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Mulish";
  font-style: normal;
  font-weight: 900;
  src: url("/fonts/mulish-v17-latin-900.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.home-content h1 span.yellow {
  color: var(--color-secondary);
}

.visitor-rules a {
  color: var(--color-primary-dark) !important;
}

.home-content h1 {
  font-weight: 900;
  font-size: 48px;
}

.home-content h2 {
  font-size: 36px;
  font-weight: 900;
  margin: 50px 0 20px 0;
}

.home-pdf {
  margin: 40px 0 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1em;
}

body {
  font-family: "Mulish";
  line-height: 1.5em;
  margin: 0;
  padding: 0;
  color: var(--color-primary);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

.esignature canvas {
  border: 1px solid var(--color-bg) !important;
}

.site-logo {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0 50px 0 !important;
}

.divider {
  border-top: 1px solid var(--color-secondary) !important;
}

.site-logo img {
  max-width: 300px;
  height: auto;
}

.container {
  max-width: 1024px; /* maximale Breite */
  margin: 0 auto; /* zentriert horizontal */
  padding: 20px 20px 50px 20px; /* optional: Abstand innen */
}

.pdf-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
  text-transform: uppercase;
}

.pdf-download-link svg {
  transition: transform 0.3s;
}

.pdf-download-link:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.pdf-download-link:hover svg {
  transform: translateY(2px);
}

.site-footer {
  background: var(--color-bg);
  color: var(--color-primary-dark);
  padding: 40px 20px 20px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-end;
}

.footer-col {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 10px;
}

.footer-col:first-child svg {
  max-width: 250px;
}

.footer-col:nth-child(2) img {
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-col a {
  color: var(--color-primary-dark);
}

.tel {
  text-decoration: none;
}

.social {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.social-links {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.copyright {
  text-align: right;
  margin: 0;
  font-size: 12px;
}

.social-links li {
  list-style-type: none;
}

.social-links li a {
  font-weight: 700;
  text-transform: uppercase;
}
.wpforms-submit {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.6rem 1rem !important;
  border: 2px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  font-weight: 500 !important;
  transition: background-color 0.3s, transform 0.2s !important;
  text-transform: uppercase !important;
  background-color: var(--color-white) !important;
}

.wpforms-submit:hover {
  background: var(--color-primary-dark) !important;
  color: var(--color-white) !important;
}

/* Responsive: unter 768px spaltenweise */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .home-content h1 {
    font-weight: 700;
    font-size: 36px;
  }

  .home-content h2 {
    font-size: 24px;
  }
  .container .container {
    padding: 0;
  }
  .site-logo {
    justify-content: flex-start;
  }
  .footer-col,
  .copyright {
    justify-content: flex-start;
    text-align: left;
  }
  .footer-col:nth-child(2) img {
    margin: 0;
  }
  .social,
  .social-links {
    justify-content: flex-start;
  }
}
