/* Reset und Grundeinstellungen */
:root {
	--primary-color:             #3b82f6;
	--secondary-color:           #1a1a1a;
	--background-gradient-start: #fff5f5;
	--background-gradient-end:   #ffe3e3;
	--text-color:                #1f2937;
	--text-muted:                #6b7280;
}

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

html {
	line-height:              1.5;
	-webkit-text-size-adjust: 100%;
	font-family:              -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	min-height:               100vh;
}

body {
	margin:         0;
	padding:        0;
	min-height:     100vh;
	display:        flex;
	flex-direction: column;
	color:          var(--text-color);
	background:     linear-gradient(135deg, var(--background-gradient-start), var(--background-gradient-end));
}

/* Basis-Elemente */
button {
	color:  inherit;
	cursor: pointer;
}

[role="button"] {
	cursor: pointer;
}

code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size:   1em;
}

img,
svg {
	display:   block;
	max-width: 100%;
	height:    auto;
}

/* Container */
.container {
	max-width:      700px;
	width:          100%;
	margin:         0 auto;
	padding:        2rem 1rem;
	flex:           1;
	display:        flex;
	flex-direction: column;
}

/* Header */
h1 {
	font-size:               2.5rem;
	font-weight:             800;
	text-align:              center;
	margin:                  1.5rem 0;
	background:              linear-gradient(90deg, #1e40af, var(--primary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow:             0 2px 4px rgba(0, 0, 0, 0.05);
}

h2 {
	text-align:              center;
	color:                   var(--text-color);
	font-size:               1.5rem;
	margin:                  2rem 0 1rem;
	background:              linear-gradient(90deg, #1e40af, var(--primary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow:             0 2px 4px rgba(0, 0, 0, 0.05);
}

p {
	text-align:  center;
	color:       var(--text-muted);
	margin:      1.5rem auto;
	font-size:   1.1rem;
	line-height: 1.6;
	max-width:   600px;
}

/* Conversion Visualization */
.conversion-visualization {
	display:         flex;
	align-items:     center;
	justify-content: center;
	gap:             2rem;
	margin:          2rem auto;
	max-width:       800px;
	width:           100%;
}

/* File Box */
.file-box {
	display:         flex;
	flex-direction:  column;
	align-items:     center;
	justify-content: center;
	width:           250px;
	height:          250px;
	padding:         1.5rem;
	border-radius:   12px;
	background:      white;
	box-shadow:      0 4px 6px rgba(0, 0, 0, 0.05);
	transition:      all 0.3s ease;
	position:        relative;
}

.file-box.amex {
	border:           3px dashed #e5e7eb;
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter:  blur(10px);
	cursor:           pointer;
	overflow:         hidden;
}

.file-box.amex:hover {
	transform:    translateY(-2px);
	box-shadow:   0 6px 12px rgba(0, 0, 0, 0.1);
	border-color: #93c5fd;
}

.file-box.amex.dragging {
	border-color:     var(--primary-color);
	background-color: rgba(239, 246, 255, 0.9);
	box-shadow:       0 0 20px rgba(59, 130, 246, 0.3);
	transform:        scale(1.02);
}

.file-box.sevdesk {
	border: 2px solid var(--primary-color);
}

.file-icon {
	font-size:     3rem;
	color:         var(--text-muted);
	margin-bottom: 1rem;
	transition:    all 0.3s ease;
}

.file-box.dragging .file-icon {
	color:     var(--primary-color);
	transform: scale(1.1);
}

.file-label {
	font-weight:   600;
	font-size:     1.1rem;
	color:         var(--text-color);
	margin-bottom: 0.5rem;
}

.file-format {
	font-size: 0.9rem;
	color:     var(--text-muted);
}

/* Arrow */
.arrow {
	display:     flex;
	align-items: center;
	color:       var(--primary-color);
}

.arrow-line {
	width:        60px;
	height:       2px;
	background:   currentColor;
	margin-right: -2px;
}

.arrow-head {
	font-size:   1.2rem;
	line-height: 1;
}

/* Drag Overlay */
.drag-overlay {
	position:        absolute;
	top:             0;
	left:            0;
	right:           0;
	bottom:          0;
	background:      rgba(59, 130, 246, 0.95);
	backdrop-filter: blur(4px);
	display:         flex;
	align-items:     center;
	justify-content: center;
	opacity:         0;
	transition:      opacity 0.2s ease-in-out;
	pointer-events:  none;
	border-radius:   12px;
}

.file-box.amex.dragging .drag-overlay {
	opacity: 1;
}

.drag-message {
	color:       white;
	font-weight: 600;
	font-size:   1.1rem;
	text-align:  center;
	padding:     0 1rem;
}

/* Footer */
.footer {
	width:           100%;
	padding:         1.5rem 2rem;
	background:      rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(8px);
	display:         flex;
	justify-content: space-between;
	align-items:     center;
	font-size:       0.9rem;
	border-top:      1px solid rgba(0, 0, 0, 0.1);
}

.footer-left {
	display:     flex;
	align-items: center;
	gap:         0.75rem;
}

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

.footer-link {
	color:           var(--text-muted);
	text-decoration: none;
	transition:      color 0.2s ease;
}

.footer-link:hover {
	color: var(--primary-color);
}

.footer-separator {
	color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
	.container {
		padding: 1rem;
	}

	h1 {
		font-size: 2rem;
		margin:    1rem 0;
	}

	p {
		font-size: 1rem;
		margin:    1rem auto;
		padding:   0 0.5rem;
	}

	.conversion-visualization {
		gap:            1.5rem;
		flex-direction: column;
	}

	.arrow {
		transform: rotate(90deg);
	}

	.arrow-line {
		width: 40px;
	}

	.footer {
		padding:        1rem;
		flex-direction: column;
		gap:            1rem;
		text-align:     center;
	}

	.footer-left {
		justify-content: center;
	}
}

/* Extra small devices */
@media (max-width: 375px) {
	h1 {
		font-size: 1.75rem;
	}
}

/* Features List */
.features-list {
	list-style:            none;
	padding:               0;
	margin:                2rem auto;
	width:                 100%;
	display:               grid;
	gap:                   1rem;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.features-list li {
	background:      rgba(255, 255, 255, 0.8);
	padding:         1rem;
	border-radius:   8px;
	box-shadow:      0 2px 4px rgba(0, 0, 0, 0.05);
	transition:      transform 0.2s ease, box-shadow 0.2s ease;
	backdrop-filter: blur(4px);
	display:         flex;
	align-items:     center;
	gap:             0.5rem;
}

.features-list li:hover {
	transform:  translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
	.features-list {
		grid-template-columns: 1fr;
		padding:               0 1rem;
	}
}
