/*
  Theme Name: Brand And Works
  Theme URI: https://branda.works
  Author: Maximilian Schalch
  Author URI: https://designerDeveloper.de/
  Description:
  Version: 2.026
  License: Copyrighted

  Dies ist der Theme für Brand and Works 2926 (Dekade II)
  
 */


:root {
  --white-color: #ffffff;
  --grey-10: #e9eaeb;
  --grey-15: #d3d5d7;
  --grey-20: #bec1c3;
  --grey-25: #a9adb0;
  --grey-30: #959a9d;
  --grey-35: #81878b;
  --grey-40: #6d7479;
  --grey-45: #5a6267;
  --grey-50: #485156; /* Copytext & "Branda" */
  --grey-55: #40484c;
  --grey-60: #393f43;
  --grey-65: #31373a;
  --grey-70: #2a2e31;
  --grey-75: #232628;
  --grey-80: #1c1e20;
  --grey-85: #151718;
  --grey-90: #0c0e0e;
  --black-color: #000000;

  --accent-1: hsla(339, 76%, 69%, 1); /* #EC76A0 */
  --accent-1b: hsla(339,76%, 80%, 1); /* z.B. Underline */
  --accent-1c: hsla(339,76%, 50%, 1); /* z.B. Hover */
  --accent-1d: hsla(339,76%, 95%, 1); /* Flächen, Hintergrund */

  --accent-2: hsla(308, 34%, 45%, 1);
  --accent-2b: hsla(308, 34%, 56%, 1);
  --accent-2c: hsla(308, 34%, 26%, 1);
  --accent-2d: hsla(308, 34%, 80%, 1);

  --accent-3: hsla(297, 37%, 34%, 1);
  --accent-3b: hsla(297, 37%, 45%, 1);
  --accent-3c: hsla(297, 37%, 15%, 1);
  --accent-3d: hsla(297, 37%, 80%, 1);

  --base-font-size: 1.4rem;
  --base-line-height: 2rem;

  --rhythm: 2.8rem;

    /* Light Mode Styles */
  --text-color: var(--grey-50);
  --text-color-light: var(--grey-35);
  --bg-color: var(--white-color);

  --link-color: var(--accent-1);
  --link-color-hover: var(--accent-1c);
  --link-underline: var(--accent-1b);

  --link-color-alt1: var(--accent-2);
  --link-color-alt1-hover: var(--accent-2c);
  --link-underline-alt1: var(--accent-2b);

  --link-color-alt2: var(--accent-3);
  --link-color-alt2-hover: var(--accent-3c);
  --link-underline-alt2: var(--accent-3b);

  --border-color: var(--grey-30);

  --btn-text: var(--grey-65);
  --btn-bg: var(--accent-1);

  --btn-text-hover: var(--grey-10);
  --btn-bg-hover: var(--accent-3);

  --footer-nav-link: var(--copy-text);
  --footer-nav-link-hover: var(--accent-3);

}

/*@media (prefers-color-scheme: dark) {
  :root {
    /* Dark Mode Styles * / 

  }
}*/

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


body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Solway',sans-serif;
  font-weight: normal;
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
}

h1,h2,h3,h4,h5,h6 {
  text-align:center;
  margin-top: calc( var(--rhythm) * 2);
  margin-bottom: var(--rhythm);
  line-height: 1em;
}

h1,h2,h3 {
  font-weight: normal;
}

h1 {
  text-align:left;
  margin-top:0;
}

h2,h3 {
  font-size: 2rem;
}

.inner {
  width: 95%;
  max-width: 75ch;
  margin: 0 auto;
}

p,ul,ol {
  margin:var(--rhythm) 0;
}

.section-brand {
  background-image:url('img/bg00.gif');
  background-size:cover;
  background-repeat: no-repeat;
  position:relative;
  max-width: 75ch;
  margin:0 auto;
  overflow: hidden;
}

.section-brand img {
  aspect-ratio: 9/16;
  transform: scale(1.04);
}

.section-brand .decade {
  position:absolute;
  bottom: 1rem;
  left:50%;
  width:90%;
  text-align:center;
  transform: translate(-50%);
}

.section-awards-holder ul {
  display:flex;
  justify-content: space-around;
  align-items: center;
  list-style-type: none;
}

.section-awards-holder img {
  height: 3.5rem;
}

.section-intro,
.section-greeting,
.section-interlinks,
.section-cta,
.section-blogteaser,
.section-faq {
  border-bottom: 1px solid var(--border-color);
}

.section-interlinks,
.section-cta,
.section-blogteaser {
  padding-bottom: 4rem;
}

.section-intro .inner {
  display: flex;
  flex-direction: column-reverse;
}

.section-greeting {
  margin-top: 3rem;
  padding-bottom: 4rem;
}


.section-greeting .inner {
  display:flex;
  flex-direction: column;
}

.portrait-holder {
  display: flex;
  flex-direction: row-reverse;
  gap: 1rem;
  align-items: center;
}

.portrait-holder h2 {
  margin: 0;
  text-align: left;
}

.portrait {
  width: 45%;
  height: 45%;
}

.section-interlinks h3,
.section-cta h3,
.section-blogteaser h3,
.section-faq h3 {
  font-size: 4rem;
}

.section-cta {
  padding-bottom: 5rem;
}

.section-cta .inner,
.section-blogteaser .inner {
  text-align: center;
}

.section-blogteaser ul {
  text-align: center;
  list-style-type: none;
}

.section-blogteaser li {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.section-blogteaser a:link,
.section-blogteaser a:visited {
  color: var(--text-color);
  text-decoration:none;
}

.section-faq {
  padding-bottom: 1rem;
}

.section-faq .inner {
  width: 70%;
  max-width:500px;
}

a:link,
a:visited {
  color: var(--link-color);
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: .2rem;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: from-font;
  transition: color .4s ease-in-out;
}

a:hover,
a:active {
  color: var(--link-color-hover);
  transition: color .2s ease-in-out;
}

a.alt-1:link,
a.alt-1:visited {
  color: var(--link-color-alt1);
  text-decoration-color: var(--link-underline-alt1);
}

a.alt-1:hover,
a.alt-1:active {
  color: var(--link-color-alt1-hover);
} 

a.alt-2:link,
a.alt-2:visited {
  color: var(--link-color-alt2);
  text-decoration-color: var(--link-underline-alt2);
}

a.alt-2:hover,
a.alt-2:active {
  color: var(--link-color-alt2-hover);
} 

a.btn:link,
a.btn:visited {
  color: var(--btn-text);
  background: var(--btn-bg);
  font-weight: bold;
  display:block;
  margin:0 auto;
  padding: 1rem;
  text-align: center;
  width: 100%;
  max-width: 300px;
  text-decoration: none;
  transition: color .4s ease-in-out, background .5s ease-in-out;
}

a.btn:hover,
a.btn:active {
  color: var(--btn-text-hover);
  background: var(--btn-bg-hover);
  transition: color .2s ease-in-out, background .25s ease-in-out;
}

a.tel:link,
a.tel:visited {
  color: var(--text-color);
  text-decoration: none;
  font-size: 2rem;
}

a.tel:hover,
a.tel:visited {
  color: var(--accent-1);
}

.arrowlist {
  list-style-type: none;
  font-size: 1.2rem;
  font-weight: bold;
}

.arrowlist li::before {
  content: url('img/arrow.svg');
  width: 2rem;
  margin-right: .8rem;
  vertical-align: text-bottom;
  display:inline-block;
  line-height: 1.6rem;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4rem 0;
}

.footernav ul {
  display:flex;
  justify-content: space-evenly;
  list-style-type: none;
  font-size: 1rem;
  line-height: 1rem;
}

.footernav li {
  display: inline-block;
}

.footernav a:link,
.footernav a:visited {
  color: var(--footer-nav-link);
  text-decoration:none;
}

.footernav a:active,
.footernav a:hover {
  color: var(--footer-nav-link-hover);
  text-decoration:none;
}

.d-only {
  display:none;
}

summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  margin-left: -0.15rem;
}
  
summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "+";
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 0.3rem;
  margin-left: -1.2rem;
  display: inline-block;
  width: 0.9rem;
}

details[open] summary::before {
  content: "-";
}

details {
  margin:0 0 1rem;
  color: var(--text-color-light);
  text-align: justify;
  hyphens: auto;
}

summary {
  margin: 0 0 2rem;
  color: var(--text-color);
  text-align: left;
}

@media (min-width:768px) {
  .m-only {
    display:none;
  }

  .d-only {
    display:initial;
  }

  .section-brand .decade {
    left:unset;
    width:unset;
    text-align:unset;
    transform:none;
    right:15%;
    bottom: 2rem;
  }

  .section-brand img {
    aspect-ratio: 16/9;
  }
}